示例#1
0
 public StreamManager(
     ObjectEngine engine,
     TParam parameters,
     Func <int> getCount,
     bool serial,
     bool directCall,
     Func <TParam, Tuple <List <TObject>, int> > getObjects,
     Func <TParam, Task <List <TObject> > > getObjectsAsync = null,
     bool validateValueTypes = true) : this(engine, parameters, getCount, serial)
 {
     DirectCall          = directCall;
     GetObjectsFunc      = getObjects;
     GetObjectsAsyncFunc = getObjectsAsync;
     ValidateValueTypes  = validateValueTypes;
 }
示例#2
0
 public StreamManager(ObjectEngine engine, TParam parameters, Func <int> getCount, bool serial) : this(engine, parameters)
 {
     TotalExist = GetMandatoryTotalExist(getCount, serial);
     TotalRequestedThatExist = GetTotalRequestedThatExist();
     Serial = serial;
 }
示例#3
0
 public StreamManager(ObjectEngine engine, TParam parameters)
 {
     this.engine      = engine;
     SourceParameters = parameters;
 }