Microsoft.AspNetCore.Mvc.ActionConstraints Namespace
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.
Provides contracts and implementations for action constraints.
Classes
ActionConstraintContext |
Context for IActionConstraint execution. |
ActionConstraintItem |
Represents an IActionConstraintMetadata with or without a corresponding IActionConstraint. |
ActionConstraintProviderContext |
Context for an action constraint provider. |
ActionMethodSelectorAttribute |
Base class for attributes which can implement conditional logic to enable or disable an action for a given request. See IActionConstraint. |
HttpMethodActionConstraint |
The implementation of IActionConstraint used to enforce HTTP method filtering when MVC is used with legacy IRouter support. The HttpMethodActionConstraint can be used to determine the set of HTTP methods supported by an action. |
Structs
ActionSelectorCandidate |
A candidate action for action selection. |
Interfaces
IActionConstraint |
Supports conditional logic to determine whether or not an associated action is valid to be selected for the given request. |
IActionConstraintFactory |
A factory for IActionConstraint. |
IActionConstraintMetadata |
A marker interface that identifies a type as metadata for an IActionConstraint. |
IActionConstraintProvider |
Provider for IActionConstraint. |
Remarks
For an introduction to ASP.NET Core MVC, Overview of ASP.NET Core Mvc.