PageHandlerExecutingContext PageHandlerExecutingContext PageHandlerExecutingContext PageHandlerExecutingContext Class

Definition

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

Constructors

PageHandlerExecutingContext(PageContext, IList<IFilterMetadata>, HandlerMethodDescriptor, IDictionary<String,Object>, Object) PageHandlerExecutingContext(PageContext, IList<IFilterMetadata>, HandlerMethodDescriptor, IDictionary<String,Object>, Object) PageHandlerExecutingContext(PageContext, IList<IFilterMetadata>, HandlerMethodDescriptor, IDictionary<String,Object>, Object) PageHandlerExecutingContext(PageContext, IList<IFilterMetadata>, HandlerMethodDescriptor, IDictionary<String,Object>, Object)

Creates a new instance of PageHandlerExecutingContext.

Properties

ActionDescriptor ActionDescriptor ActionDescriptor ActionDescriptor

Gets the descriptor associated with the current page.

Filters Filters Filters Filters

Gets all applicable IFilterMetadata implementations.

(Inherited from FilterContext)
HandlerArguments HandlerArguments HandlerArguments HandlerArguments

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

HandlerInstance HandlerInstance HandlerInstance HandlerInstance

Gets the object instance containing the handler method.

HandlerMethod HandlerMethod HandlerMethod HandlerMethod

Gets the descriptor for the handler method about to be invoked.

HttpContext HttpContext HttpContext HttpContext

Gets or sets the HttpContext for the current request.

(Inherited from ActionContext)
ModelState ModelState ModelState ModelState

Gets the ModelStateDictionary.

(Inherited from ActionContext)
Result Result Result Result

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

RouteData RouteData RouteData RouteData

Gets or sets the RouteData for the current request.

(Inherited from ActionContext)

Methods

FindEffectivePolicy<TMetadata>() FindEffectivePolicy<TMetadata>() FindEffectivePolicy<TMetadata>() 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) IsEffectivePolicy<TMetadata>(TMetadata) IsEffectivePolicy<TMetadata>(TMetadata) 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