Ejemplo n.º 1
0
 public HookQueryable(IQueryable <T> baseQueryable, Auxilary aux, DescriptionHolder descrHolder)
 {
     _baseQueryable = baseQueryable;
     _aux           = aux;
     _description   = descrHolder ?? new DescriptionHolder();
     _provider      = new HookQueryProvider(baseQueryable.Provider, _aux, _description);
 }
Ejemplo n.º 2
0
 public HookQueryProvider(IQueryProvider baseQueryProvider, Auxilary aux, DescriptionHolder description)
 {
     _baseQueryProvider = baseQueryProvider;
     _aux         = aux;
     _description = description;
 }
Ejemplo n.º 3
0
 public HookEnumerator(string hash, IEnumerator <T> original, Auxilary aux, DescriptionHolder description)
 {
     _original = original;
     aux.QueryManuallyClone(hash, (IEnumerable <T>)_data, description.Description);
 }