示例#1
0
 internal LiftedList(
     int itemCount,
     GetRowDelegate rowFectcher,
     CreateObjectDelegate <T> factory,
     Func <bool> disposedChecker
     ) : this(itemCount, rowFectcher, (pRow, index) => factory(pRow), disposedChecker)
 {
     factory.CheckNotNull("factory");
 }
示例#2
0
 public LiftedList <T> LoadDirectChildren <T>(
     MetadataTable childTable,
     GetTokenDelegate tokenSelector,
     CreateObjectDelegate <T> factory,
     MetadataTable parentTable,
     void *parentRow
     ) where T : class
 {
     factory.CheckNotNull("factory");
     return(LoadDirectChildren(childTable, tokenSelector, (pRow, index) => factory(pRow), parentTable, parentRow));
 }