示例#1
0
 private ColumnGrouping(int numColumns, IEnumerable <int> indices)
 {
     this.numColumns = numColumns;
     GroupingId      = GroupingIdConverter.GetConverter(numColumns).GroupingIdFromIndices(indices.ToArray());
     Indices         = indices.ToImmutableArray();
 }
示例#2
0
 public ColumnGrouping(int numColumns, int groupingId)
 {
     this.numColumns = numColumns;
     GroupingId      = groupingId;
     Indices         = GroupingIdConverter.GetConverter(numColumns).IndicesFromGroupingId(GroupingId).ToImmutableArray();
 }