ControllerActionInvoker Class¶
Constructors¶
-
ControllerActionInvoker
(Microsoft.AspNet.Mvc.ActionContext, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.Core.IFilterProvider>, Microsoft.AspNet.Mvc.IControllerFactory, Microsoft.AspNet.Mvc.ControllerActionDescriptor, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.IInputFormatter>, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.IOutputFormatter>, Microsoft.AspNet.Mvc.IControllerActionArgumentBinder, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.ModelBinding.IModelBinder>, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider>, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.ModelBinding.IValueProviderFactory>, Microsoft.AspNet.Mvc.IScopedInstance<Microsoft.AspNet.Mvc.ActionBindingContext>, Microsoft.AspNet.Mvc.ITempDataDictionary, ILoggerFactory, System.Int32)¶ Arguments: - actionContext (Microsoft.AspNet.Mvc.ActionContext) –
- filterProviders (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.Core.IFilterProvider}) –
- controllerFactory (Microsoft.AspNet.Mvc.IControllerFactory) –
- descriptor (Microsoft.AspNet.Mvc.ControllerActionDescriptor) –
- inputFormatters (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.IInputFormatter}) –
- outputFormatters (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.IOutputFormatter}) –
- controllerActionArgumentBinder (Microsoft.AspNet.Mvc.IControllerActionArgumentBinder) –
- modelBinders (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ModelBinding.IModelBinder}) –
- modelValidatorProviders (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider}) –
- valueProviderFactories (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ModelBinding.IValueProviderFactory}) –
- actionBindingContextAccessor (Microsoft.AspNet.Mvc.IScopedInstance{Microsoft.AspNet.Mvc.ActionBindingContext}) –
- tempData (Microsoft.AspNet.Mvc.ITempDataDictionary) –
- loggerFactory (ILoggerFactory) –
- maxModelValidationErrors (System.Int32) –
public ControllerActionInvoker(ActionContext actionContext, IReadOnlyList<IFilterProvider> filterProviders, IControllerFactory controllerFactory, ControllerActionDescriptor descriptor, IReadOnlyList<IInputFormatter> inputFormatters, IReadOnlyList<IOutputFormatter> outputFormatters, IControllerActionArgumentBinder controllerActionArgumentBinder, IReadOnlyList<IModelBinder> modelBinders, IReadOnlyList<IModelValidatorProvider> modelValidatorProviders, IReadOnlyList<IValueProviderFactory> valueProviderFactories, IScopedInstance<ActionBindingContext> actionBindingContextAccessor, ITempDataDictionary tempData, ILoggerFactory loggerFactory, int maxModelValidationErrors)
-
Methods¶
-
BindActionArgumentsAsync
(Microsoft.AspNet.Mvc.ActionContext, Microsoft.AspNet.Mvc.ActionBindingContext)¶ Arguments: - context (Microsoft.AspNet.Mvc.ActionContext) –
- bindingContext (Microsoft.AspNet.Mvc.ActionBindingContext) –
Return type: System.Threading.Tasks.Task{System.Collections.Generic.IDictionary{System.String,System.Object}}
protected override Task<IDictionary<string, object>> BindActionArgumentsAsync(ActionContext context, ActionBindingContext bindingContext)
-
Microsoft.AspNet.Mvc.Core.ControllerActionInvoker.CreateInstance()
Return type: System.Object protected override object CreateInstance()
-
InvokeActionAsync
(Microsoft.AspNet.Mvc.ActionExecutingContext)¶ Arguments: - actionExecutingContext (Microsoft.AspNet.Mvc.ActionExecutingContext) –
Return type: System.Threading.Tasks.Task{Microsoft.AspNet.Mvc.IActionResult}
protected override Task<IActionResult> InvokeActionAsync(ActionExecutingContext actionExecutingContext)
-
ReleaseInstance
(System.Object)¶ Arguments: - instance (System.Object) –
protected override void ReleaseInstance(object instance)
-