Example #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;
 }
Example #2
0
 public StreamManager(ObjectEngine engine, TParam parameters, Func <int> getCount, bool serial) : this(engine, parameters)
 {
     TotalExist = GetMandatoryTotalExist(getCount, serial);
     TotalRequestedThatExist = GetTotalRequestedThatExist();
     Serial = serial;
 }
Example #3
0
 public StreamManager(ObjectEngine engine, TParam parameters)
 {
     this.engine      = engine;
     SourceParameters = parameters;
 }