public AuthorizationContextCache(ICache cache, IControllerContextCache controllerContextCache, IControllerDescriptorCache controllerDescriptorCache, IRouteDataCache routeDataCache) { this.cache = cache; this.routeDataCache = routeDataCache; this.controllerContextCache = controllerContextCache; this.controllerDescriptorCache = controllerDescriptorCache; }
public ControllerDescriptorCacheTests() { controllerTypeCache = new ControllerTypeCache(new NoCache()) { ReferencedAssemblies = (() => new List<Assembly> { GetType().Assembly }) }; controllerDescriptorCache = new ControllerDescriptorCache(new NoCache(), controllerTypeCache); }
public ControllerDescriptorCacheTests() { controllerTypeCache = new ControllerTypeCache(new NoCache()) { ReferencedAssemblies = (() => new List <Assembly> { GetType().Assembly }) }; controllerDescriptorCache = new ControllerDescriptorCache(new NoCache(), controllerTypeCache); }
public AuthorizationContextCacheTests() { requestContext = TestHelper.CreateRequestContext(); controllerTypeCache = new ControllerTypeCache(new NoCache()) { ReferencedAssemblies = (() => new List<Assembly> { GetType().Assembly }) }; controllerContextCache = new ControllerContextCache(new NoCache(), controllerTypeCache); controllerDescriptorCache = new ControllerDescriptorCache(new NoCache(), controllerTypeCache); authorizationContextCache = new AuthorizationContextCache(new NoCache(), controllerContextCache, controllerDescriptorCache); }
public AuthorizationContextCacheTests() { requestContext = TestHelper.CreateRequestContext(); controllerTypeCache = new ControllerTypeCache(new NoCache()) { ReferencedAssemblies = (() => new List <Assembly> { GetType().Assembly }) }; controllerContextCache = new ControllerContextCache(new NoCache(), controllerTypeCache); controllerDescriptorCache = new ControllerDescriptorCache(new NoCache(), controllerTypeCache); authorizationContextCache = new AuthorizationContextCache(new NoCache(), controllerContextCache, controllerDescriptorCache); }
public BetterAsyncControllerActionInvokerTestWrapper(IControllerDescriptorCache descriptorCache) : base(descriptorCache) { }
public BetterAsyncControllerActionInvoker(IControllerDescriptorCache descriptorCache) { this.descriptorCache = descriptorCache; }