ActionExecutingContext ActionExecutingContext Class

Syntax

Declaration

public class ActionExecutingContext : FilterContextPublic Class ActionExecutingContext
    Inherits FilterContext

Inheritance Hierarchy

Inherited Members

Filters,
Filters,
ActionDescriptor,
ActionDescriptor,
HttpContext,
HttpContext,
ModelState,
ModelState,
RouteData,
RouteData,
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Instantiates a new ActionExecutingContext instance.

Properties summary

Gets the arguments to pass when invoking the action. Keys are parameter names.
Gets the controller instance containing the action.
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.

Constructors

  • ActionExecutingContext(ActionContext, IList<IFilterMetadata>, IDictionary<String, Object>, Object)
    ActionExecutingContext(ActionContext, IList(Of IFilterMetadata), IDictionary(Of String, Object), Object)
    Instantiates a new ActionExecutingContext instance.
    public ActionExecutingContext(ActionContext actionContext, IList<IFilterMetadata> filters, IDictionary<string, object> actionArguments, object controller)Public Sub New(actionContext As ActionContext, filters As IList(Of IFilterMetadata), actionArguments As IDictionary(Of String, Object), controller As Object)

    Parameters

    • actionContext
      The ActionContext.
    • filters
      System.Collections.Generic.IList<T><IFilterMetadata>
      System.Collections.Generic.IList<T>(Of IFilterMetadata)
      All applicable IFilterMetadata implementations.
    • actionArguments
      System.Collections.Generic.IDictionary<TKey, TValue><System.String, System.Object>
      System.Collections.Generic.IDictionary<TKey, TValue>(Of System.String, System.Object)
      The arguments to pass when invoking the action. Keys are parameter names.
    • controller
      System.Object
      System.Object
      The controller instance containing the action.

Properties

  • ActionArguments
    ActionArguments
    Gets the arguments to pass when invoking the action. Keys are parameter names.
    public virtual IDictionary<string, object> ActionArguments { get; }Public Overridable ReadOnly Property ActionArguments As IDictionary(Of String, Object)

    Property Value

    • System.Collections.Generic.IDictionary<TKey, TValue><System.String, System.Object>
      System.Collections.Generic.IDictionary<TKey, TValue>(Of System.String, System.Object)
  • Controller
    Controller
    Gets the controller instance containing the action.
    public virtual object Controller { get; }Public Overridable ReadOnly Property Controller As Object

    Property Value

    • System.Object
      System.Object
  • Result
    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.
    public virtual IActionResult Result { get; set; }Public Overridable Property Result As IActionResult

    Property Value

Details

Assembly

Microsoft.AspNetCore.Mvc.Abstractions.dll