Esempio n. 1
0
 public TableDimension(string name)
 {
     this.Name = name;
     Values    = new ReadOnlyCollection <T>(values);
     Indexing  = new DimensionIndexerFactory <T>(this);
 }
Esempio n. 2
0
 public static SortedContinousIndexer <T> SortedContinous <T>(this DimensionIndexerFactory <T> factory, Func <T, T> getNext)
     where T : IComparable
 {
     return(new SortedContinousIndexer <T>(factory.dim, getNext));
 }
Esempio n. 3
0
 public static SortedAutoCreateIndexer <T> SortedAutoCreate <T>(this DimensionIndexerFactory <T> factory)
     where T : IComparable
 {
     return(new SortedAutoCreateIndexer <T>(factory.dim));
 }
Esempio n. 4
0
 public static AutoCreateIndexer <T> AutoCreate <T>(this DimensionIndexerFactory <T> factory)
 {
     return(new AutoCreateIndexer <T>(factory.dim));
 }
Esempio n. 5
0
 public static IntIndexer <T> Int <T>(this DimensionIndexerFactory <T> factory)
 {
     return(new IntIndexer <T>(factory.dim));
 }
Esempio n. 6
0
 public static OnlyExistedIndexer <T> OnlyExisted <T>(this DimensionIndexerFactory <T> factory)
 {
     return(new OnlyExistedIndexer <T>(factory.dim));
 }