public InnerRegistration1(TokenStore store, IDependency <T1> dependency, IFilterToken groupToken, int priority) { this.store = store; this.dependency = dependency; this.groupToken = groupToken; this.priority = priority; }
public InnerHighLevelRegistration(TokenStore store, IFilterToken groupToken, int priority, params IDependency[] dependencies) { this.store = store; this.groupToken = groupToken; this.priority = priority; this.dependencies = dependencies; }
public static IRegister GetRegistration(TokenStore store, IFilterToken groupToken, int priority) { var inner = new InnerRegistration(store, groupToken, priority); var innerHighLevel = new InnerHighLevelRegistration(store, groupToken, priority); return(new Registration(store, inner, innerHighLevel)); }
public Declarator(TokenStore store, IToken <T> token, IProvider provider, IFilterToken groupToken, int priority) { this.store = store; this.token = token; this.provider = provider; this.groupToken = groupToken; this.priority = priority; }
public FilterInfo(int id, IDiagInfo diagInfo = null, IFilterToken parentGroupToken = null, int priority = TestingContext.DefaultPriority) { FilterToken = new FilterToken(); ParentGroupToken = parentGroupToken; Priority = priority; DiagInfo = diagInfo; Id = id; }
public static IFor <T1> GetRegistration1 <T1>(TokenStore store, IDependency <T1> dependency, IFilterToken groupToken, int priority) { var inner = new InnerRegistration1 <T1>(store, dependency, groupToken, priority); var innerHighLevel = new InnerHighLevelRegistration(store, groupToken, priority, dependency); return(new Registration1 <T1>(store, inner, innerHighLevel)); }
public InnerRegistration2(TokenStore store, IDependency <T1> dependency1, IDependency <T2> dependency2, IFilterToken groupToken, int priority) { this.store = store; this.dependency1 = dependency1; this.dependency2 = dependency2; this.groupToken = groupToken; this.priority = priority; }
public Provider(IDependency <TSource> dependency, Func <TSource, IEnumerable <T> > sourceFunc, TokenStore store, IFilterToken parentGroupToken, IDiagInfo diagInfo) { ParentGroupToken = parentGroupToken; DiagInfo = diagInfo; this.dependency = dependency; this.sourceFunc = sourceFunc; this.store = store; Dependencies = new IDependency[] { dependency }; }
public Provider2(IDependency <TSource1> dependency1, IDependency <TSource2> dependency2, Func <TSource1, TSource2, IEnumerable <T> > sourceFunc, TokenStore store, IFilterToken parentGroupToken, IDiagInfo diagInfo) { ParentGroupToken = parentGroupToken; DiagInfo = diagInfo; this.dependency1 = dependency1; this.dependency2 = dependency2; this.sourceFunc = sourceFunc; this.store = store; Dependencies = new IDependency[] { dependency1, dependency2 }; }
public QueryFilter(IFilterToken filter) : this() { this._filters.Add(filter); }
public QueryFilter Add(IFilterToken c) { this._filters.Add(c); return(this); }
public void InvertFilter(IFilterToken token, string file, int line, string member) => store.FilterInversions.Add(token, DiagInfo.Create(file, line, member));
public InnerRegistration(TokenStore store, IFilterToken groupToken, int priority) { this.store = store; this.groupToken = groupToken; this.priority = priority; }
public static void RegisterCvFilter(this TokenStore store, FilterRegistration filter, IFilterToken token) { store.RegisterFilter(filter); store.CvFilters.Add(token); }