Table of Contents

Class GroupTable<TColumn, TRow, TCell>

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class GroupTable<TColumn, TRow, TCell> : IGroupTable where TColumn : GroupLeaf, IComparable<TColumn> where TRow : GroupLeaf, IComparable<TRow>

Type Parameters

TColumn
TRow
TCell
Inheritance
GroupTable<TColumn, TRow, TCell>
Implements
Inherited Members
Extension Methods

Constructors

GroupTable()

public GroupTable()

Properties

Columns

public GroupInfoCollection<TColumn> Columns { get; }

Property Value

GroupInfoCollection<TColumn>

HasData

public bool HasData { get; }

Property Value

bool

Rows

public GroupInfoCollection<TRow> Rows { get; }

Property Value

GroupInfoCollection<TRow>

Methods

AddCell(GroupLeaf, GroupLeaf, Func<TCell>, Action<TCell>)

public TCell AddCell(GroupLeaf col, GroupLeaf row, Func<TCell> create, Action<TCell> collision = null)

Parameters

col GroupLeaf
row GroupLeaf
create Func<TCell>
collision Action<TCell>

Returns

TCell

GetCell(GroupLeaf, GroupLeaf)

public TCell GetCell(GroupLeaf col, GroupLeaf row)

Parameters

col GroupLeaf
row GroupLeaf

Returns

TCell