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 TestingContext() { store = new TokenStore(); Inversion = new Inversion(store); var inner = new InnerRegistration(store, null, DefaultPriority); var innerHighLevel = new InnerHighLevelRegistration(store, null, DefaultPriority); reg = new Registration(store, inner, innerHighLevel); }