ResourceExecutingContext Class¶
Summary¶
A context for resource filters. Allows modification of services and values used for model binding.
Constructors¶
-
ResourceExecutingContext
(Microsoft.AspNet.Mvc.ActionContext, System.Collections.Generic.IList<Microsoft.AspNet.Mvc.IFilter>)¶ Creates a new [Microsoft.AspNet.Mvc.ResourceExecutingContext](Microsoft.AspNet.Mvc.ResourceExecutingContext.yml).
Arguments: - actionContext (Microsoft.AspNet.Mvc.ActionContext) – The [Microsoft.AspNet.Mvc.ActionContext](Microsoft.AspNet.Mvc.ActionContext.yml).
- filters (System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IFilter}) – The list of [Microsoft.AspNet.Mvc.IFilter](Microsoft.AspNet.Mvc.IFilter.yml) instances.
public ResourceExecutingContext(ActionContext actionContext, IList<IFilter> filters)
-
Properties¶
-
InputFormatters
()¶ Gets or sets the list of [Microsoft.AspNet.Mvc.IInputFormatter](Microsoft.AspNet.Mvc.IInputFormatter.yml) instances used by model binding.
Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IInputFormatter} public virtual IList<IInputFormatter> InputFormatters { get; set; }
-
ModelBinders
()¶ Gets or sets the list of [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder](Microsoft.AspNet.Mvc.ModelBinding.IModelBinder.yml) instances used by model binding.
Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ModelBinding.IModelBinder} public virtual IList<IModelBinder> ModelBinders { get; set; }
-
OutputFormatters
()¶ Gets or sets the list of [Microsoft.AspNet.Mvc.IOutputFormatter](Microsoft.AspNet.Mvc.IOutputFormatter.yml) instances used to format the response.
Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IOutputFormatter} public virtual IList<IOutputFormatter> OutputFormatters { get; set; }
-
Result
()¶ Gets or sets the result of the action to be executed.
Return type: Microsoft.AspNet.Mvc.IActionResult public virtual IActionResult Result { get; set; }
-
ValidatorProviders
()¶ Gets or sets the list of [Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider](Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider.yml) instances used by model binding.
Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider} public IList<IModelValidatorProvider> ValidatorProviders { get; set; }
-
ValueProviderFactories
()¶ Gets or sets the list of [Microsoft.AspNet.Mvc.ModelBinding.IValueProviderFactory](Microsoft.AspNet.Mvc.ModelBinding.IValueProviderFactory.yml) instances used by model binding.
Return type: System.Collections.Generic.IList{Microsoft.AspNet.Mvc.ModelBinding.IValueProviderFactory} public IList<IValueProviderFactory> ValueProviderFactories { get; set; }
-