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