PageHandlerSelectedContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A context for page filters, used specifically in OnPageHandlerSelected(PageHandlerSelectedContext) and OnPageHandlerSelectionAsync(PageHandlerSelectedContext).
public ref class PageHandlerSelectedContext : Microsoft::AspNetCore::Mvc::Filters::FilterContext
public class PageHandlerSelectedContext : Microsoft.AspNetCore.Mvc.Filters.FilterContext
type PageHandlerSelectedContext = class
inherit FilterContext
Public Class PageHandlerSelectedContext
Inherits FilterContext
- Inheritance
Constructors
PageHandlerSelectedContext(PageContext, IList<IFilterMetadata>, Object) |
Creates a new instance of PageHandlerExecutedContext. |
Properties
ActionDescriptor |
Gets the descriptor associated with the current page. |
Filters |
Gets all applicable IFilterMetadata implementations. (Inherited from FilterContext) |
HandlerInstance |
Gets the object instance containing the handler method. |
HandlerMethod |
Gets or sets the descriptor for the handler method about to be invoked. |
HttpContext |
Gets or sets the HttpContext for the current request. (Inherited from ActionContext) |
ModelState |
Gets the ModelStateDictionary. (Inherited from ActionContext) |
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 |
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) |