public ControllerActionInvoker( [NotNull] ActionContext actionContext, [NotNull] INestedProviderManager <FilterProviderContext> filterProvider, [NotNull] IControllerFactory controllerFactory, [NotNull] ControllerActionDescriptor descriptor, [NotNull] IInputFormattersProvider inputFormatterProvider, [NotNull] IControllerActionArgumentBinder controllerActionArgumentBinder, [NotNull] IModelBinderProvider modelBinderProvider, [NotNull] IModelValidatorProviderProvider modelValidatorProviderProvider, [NotNull] IValueProviderFactoryProvider valueProviderFactoryProvider, [NotNull] IScopedInstance <ActionBindingContext> actionBindingContextAccessor) : base( actionContext, filterProvider, inputFormatterProvider, modelBinderProvider, modelValidatorProviderProvider, valueProviderFactoryProvider, actionBindingContextAccessor) { _descriptor = descriptor; _controllerFactory = controllerFactory; _argumentBinder = controllerActionArgumentBinder; if (descriptor.MethodInfo == null) { throw new ArgumentException( Resources.FormatPropertyOfTypeCannotBeNull("MethodInfo", typeof(ControllerActionDescriptor)), "descriptor"); } }
public ControllerActionInvokerProvider(IControllerFactory controllerFactory, IInputFormattersProvider inputFormattersProvider, INestedProviderManager <FilterProviderContext> filterProvider, IControllerActionArgumentBinder actionInvocationInfoProvider) { _controllerFactory = controllerFactory; _inputFormattersProvider = inputFormattersProvider; _filterProvider = filterProvider; _actionInvocationInfoProvider = actionInvocationInfoProvider; }
public ReflectedActionInvokerProvider(IControllerFactory controllerFactory, IActionBindingContextProvider bindingProvider, IInputFormattersProvider inputFormattersProvider, INestedProviderManager <FilterProviderContext> filterProvider) { _controllerFactory = controllerFactory; _bindingProvider = bindingProvider; _inputFormattersProvider = inputFormattersProvider; _filterProvider = filterProvider; }
public FilterActionInvoker( [NotNull] ActionContext actionContext, [NotNull] INestedProviderManager <FilterProviderContext> filterProvider, [NotNull] IInputFormattersProvider inputFormatterProvider, [NotNull] IModelBinderProvider modelBinderProvider, [NotNull] IModelValidatorProviderProvider modelValidatorProviderProvider, [NotNull] IValueProviderFactoryProvider valueProviderFactoryProvider, [NotNull] IScopedInstance <ActionBindingContext> actionBindingContextAccessor) { ActionContext = actionContext; _filterProvider = filterProvider; _inputFormatterProvider = inputFormatterProvider; _modelBinderProvider = modelBinderProvider; _modelValidatorProviderProvider = modelValidatorProviderProvider; _valueProviderFactoryProvider = valueProviderFactoryProvider; _actionBindingContextAccessor = actionBindingContextAccessor; }
public ReflectedActionInvoker([NotNull] ActionContext actionContext, [NotNull] IActionBindingContextProvider bindingContextProvider, [NotNull] INestedProviderManager <FilterProviderContext> filterProvider, [NotNull] IControllerFactory controllerFactory, [NotNull] ReflectedActionDescriptor descriptor, [NotNull] IInputFormattersProvider inputFormattersProvider) : base(actionContext, bindingContextProvider, filterProvider) { _descriptor = descriptor; _controllerFactory = controllerFactory; _inputFormattersProvider = inputFormattersProvider; if (descriptor.MethodInfo == null) { throw new ArgumentException( Resources.FormatPropertyOfTypeCannotBeNull("MethodInfo", typeof(ReflectedActionDescriptor)), "descriptor"); } }
public ModuleActionInvokerProvider( IModuleFactory moduleFactory, IEnumerable<IFilterProvider> filterProviders, IInputFormattersProvider inputFormattersProvider, IModelBinderProvider modelBinderProvider, IModelValidatorProviderProvider modelValidatorProviderProvider, IValueProviderFactoryProvider valueProviderFactoryProvider, IScopedInstance<ActionBindingContext> actionBindingContextAccessor, IServiceProvider serviceProvider) { _moduleFactory = moduleFactory; _filterProviders = filterProviders.OrderBy(p => p.Order).ToList(); _inputFormattersProvider = inputFormattersProvider; _modelBinderProvider = modelBinderProvider; _modelValidatorProviderProvider = modelValidatorProviderProvider; _valueProviderFactoryProvider = valueProviderFactoryProvider; _actionBindingContextAccessor = actionBindingContextAccessor; _serviceProvider = serviceProvider; }
public ControllerActionInvokerProvider( IControllerFactory controllerFactory, IInputFormattersProvider inputFormattersProvider, INestedProviderManager <FilterProviderContext> filterProvider, IControllerActionArgumentBinder argumentBinder, IModelBinderProvider modelBinderProvider, IModelValidatorProviderProvider modelValidationProviderProvider, IValueProviderFactoryProvider valueProviderFactoryProvider, IScopedInstance <ActionBindingContext> actionBindingContextAccessor) { _controllerFactory = controllerFactory; _inputFormattersProvider = inputFormattersProvider; _filterProvider = filterProvider; _argumentBinder = argumentBinder; _modelBinderProvider = modelBinderProvider; _modelValidationProviderProvider = modelValidationProviderProvider; _valueProviderFactoryProvider = valueProviderFactoryProvider; _actionBindingContextAccessor = actionBindingContextAccessor; }
public ControllerActionInvokerProvider( IControllerFactory controllerFactory, IInputFormattersProvider inputFormattersProvider, IEnumerable <IFilterProvider> filterProviders, IControllerActionArgumentBinder argumentBinder, IModelBinderProvider modelBinderProvider, IModelValidatorProviderProvider modelValidationProviderProvider, IValueProviderFactoryProvider valueProviderFactoryProvider, IScopedInstance <ActionBindingContext> actionBindingContextAccessor, ITempDataDictionary tempData) { _controllerFactory = controllerFactory; _inputFormattersProvider = inputFormattersProvider; _filterProviders = filterProviders.OrderBy(item => item.Order).ToArray(); _argumentBinder = argumentBinder; _modelBinderProvider = modelBinderProvider; _modelValidationProviderProvider = modelValidationProviderProvider; _valueProviderFactoryProvider = valueProviderFactoryProvider; _actionBindingContextAccessor = actionBindingContextAccessor; _tempData = tempData; }
public ControllerActionInvokerProvider( IControllerFactory controllerFactory, IInputFormattersProvider inputFormattersProvider, IEnumerable<IFilterProvider> filterProviders, IControllerActionArgumentBinder argumentBinder, IModelBinderProvider modelBinderProvider, IModelValidatorProviderProvider modelValidationProviderProvider, IValueProviderFactoryProvider valueProviderFactoryProvider, IScopedInstance<ActionBindingContext> actionBindingContextAccessor, ITempDataDictionary tempData) { _controllerFactory = controllerFactory; _inputFormattersProvider = inputFormattersProvider; _filterProviders = filterProviders.OrderBy(item => item.Order).ToArray(); _argumentBinder = argumentBinder; _modelBinderProvider = modelBinderProvider; _modelValidationProviderProvider = modelValidationProviderProvider; _valueProviderFactoryProvider = valueProviderFactoryProvider; _actionBindingContextAccessor = actionBindingContextAccessor; _tempData = tempData; }
public TestControllerActionInvoker( ActionContext actionContext, IFilterProvider[] filterProvider, MockControllerFactory controllerFactory, ControllerActionDescriptor descriptor, IInputFormattersProvider inputFormattersProvider, IControllerActionArgumentBinder controllerActionArgumentBinder, IModelBinderProvider modelBinderProvider, IModelValidatorProviderProvider modelValidatorProviderProvider, IValueProviderFactoryProvider valueProviderFactoryProvider, IScopedInstance<ActionBindingContext> actionBindingContext, ITempDataDictionary tempData) : base( actionContext, filterProvider, controllerFactory, descriptor, inputFormattersProvider, controllerActionArgumentBinder, modelBinderProvider, modelValidatorProviderProvider, valueProviderFactoryProvider, actionBindingContext, tempData) { ControllerFactory = controllerFactory; }