Пример #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);
 }
Пример #2
0
 public HookEnumerator(string hash, IEnumerator <T> original, Auxilary auxilary, DescriptionHolder description)
 {
     _auxilary = auxilary;
     _original = original;
     auxilary.QueryManuallyClone(hash, (IEnumerable <T>)_data, description.Description);
 }
 public HookQueryProvider(IQueryProvider baseQueryProvider, Auxilary aux, DescriptionHolder description)
 {
     _baseQueryProvider = baseQueryProvider;
     _aux         = aux;
     _description = description;
 }