ActionExecutingContext Class

Definition

public ref class ActionExecutingContext : Microsoft::AspNetCore::Mvc::Filters::FilterContext
public class ActionExecutingContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext
type ActionExecutingContext = class
    inherit FilterContext
Public Class ActionExecutingContext
Inherits FilterContext
Inheritance
ActionExecutingContext

Constructors

ActionExecutingContext(ActionContext, IList<IFilterMetadata>, IDictionary<String,Object>, Object)

Instantiates a new ActionExecutingContext instance.

Properties

ActionArguments

Gets the arguments to pass when invoking the action. Keys are parameter names.

ActionDescriptor

Gets or sets the ActionDescriptor for the selected action.

(Inherited from ActionContext)
Controller

Gets the controller instance containing the action.

Filters

Gets all applicable IFilterMetadata implementations.

(Inherited from FilterContext)
HttpContext

Gets or sets the HttpContext for the current request.

(Inherited from ActionContext)
ModelState

Gets the ModelStateDictionary.

(Inherited from ActionContext)
Result

Gets or sets the IActionResult to execute. Setting Result to a non-null value inside an action filter will short-circuit the action and any remaining action filters.

RouteData

Gets or sets the RouteData for the current request.

(Inherited from ActionContext)

Methods

FindEffectivePolicy<TMetadata>()

Returns the most effective (most specific) policy of type TMetadata applied to the action associated with the FilterContext.

(Inherited from FilterContext)
IsEffectivePolicy<TMetadata>(TMetadata)

Returns a value indicating whether the provided IFilterMetadata is the most effective policy (most specific) applied to the action associated with the FilterContext.

(Inherited from FilterContext)

Applies to