public AuthorizeAttributeAclModule( IMvcContextFactory mvcContextFactory, IControllerDescriptorFactory controllerDescriptorFactory, IControllerBuilder controllerBuilder, IGlobalFilterProvider filterProvider ) { if (mvcContextFactory == null) { throw new ArgumentNullException("mvcContextFactory"); } if (controllerDescriptorFactory == null) { throw new ArgumentNullException("controllerDescriptorFactory"); } if (controllerBuilder == null) { throw new ArgumentNullException("controllerBuilder"); } if (filterProvider == null) { throw new ArgumentNullException("filterProvider"); } this.mvcContextFactory = mvcContextFactory; this.controllerDescriptorFactory = controllerDescriptorFactory; this.controllerBuilder = controllerBuilder; this.filterProvider = filterProvider; }
public AuthorizeAttributeAclModule( IMvcContextFactory mvcContextFactory, IObjectCopier objectCopier, IControllerDescriptorFactory controllerDescriptorFactory, IControllerBuilder controllerBuilder, IAuthorizeAttributeBuilder authorizeAttributeBuilder, IGlobalFilterProvider filterProvider ) { if (mvcContextFactory == null) throw new ArgumentNullException("mvcContextFactory"); if (objectCopier == null) throw new ArgumentNullException("objectCopier"); if (controllerDescriptorFactory == null) throw new ArgumentNullException("controllerDescriptorFactory"); if (controllerBuilder == null) throw new ArgumentNullException("controllerBuilder"); if (authorizeAttributeBuilder == null) throw new ArgumentNullException("authorizeAttributeBuilder"); if (filterProvider == null) throw new ArgumentNullException("filterProvider"); this.mvcContextFactory = mvcContextFactory; this.objectCopier = objectCopier; this.controllerDescriptorFactory = controllerDescriptorFactory; this.controllerBuilder = controllerBuilder; this.authorizeAttributeBuilder = authorizeAttributeBuilder; this.filterProvider = filterProvider; }
public ActionMethodParameterResolverFactory( IControllerDescriptorFactory controllerDescriptorFactory ) { if (controllerDescriptorFactory == null) throw new ArgumentNullException("controllerDescriptorFactory"); this.controllerDescriptorFactory = controllerDescriptorFactory; }
/// <summary> /// Initializes a new instance of the <see cref="ActionMethodParameterResolver"/> class. /// </summary> public ActionMethodParameterResolver( IControllerDescriptorFactory controllerDescriptorFactory ) { if (controllerDescriptorFactory == null) throw new ArgumentNullException("controllerDescriptorFactory"); this.controllerDescriptorFactory = controllerDescriptorFactory; Cache = new ThreadSafeDictionary<string, IEnumerable<string>>(); }
public ActionMethodParameterResolverFactory( IControllerDescriptorFactory controllerDescriptorFactory ) { if (controllerDescriptorFactory == null) { throw new ArgumentNullException("controllerDescriptorFactory"); } this.controllerDescriptorFactory = controllerDescriptorFactory; }
/// <summary> /// Initializes a new instance of the <see cref="ActionMethodParameterResolver"/> class. /// </summary> public ActionMethodParameterResolver( IControllerDescriptorFactory controllerDescriptorFactory ) { if (controllerDescriptorFactory == null) { throw new ArgumentNullException("controllerDescriptorFactory"); } this.controllerDescriptorFactory = controllerDescriptorFactory; Cache = new ThreadSafeDictionary <string, IEnumerable <string> >(); }