DirectRouteFactoryContext 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.
Represents a context that supports creating a direct route.
public class DirectRouteFactoryContext
type DirectRouteFactoryContext = class
Public Class DirectRouteFactoryContext
- Inheritance
-
DirectRouteFactoryContext
Constructors
DirectRouteFactoryContext(String, String, IReadOnlyCollection<ActionDescriptor>, IInlineConstraintResolver, Boolean) |
Initializes a new instance of the DirectRouteFactoryContext class. |
Properties
Actions |
Gets the action descriptors to which to create a route. |
AreaPrefix |
Gets the route prefix, if any, defined by the area. |
ControllerPrefix |
Gets the route prefix, if any, defined by the controller. |
InlineConstraintResolver |
Gets the inline constraint resolver. |
TargetIsAction |
Gets a value indicating whether the route is configured at the action or controller level. |
Methods
CreateBuilder(String, IInlineConstraintResolver) |
Creates a route builder that can build a route matching this context. |
CreateBuilder(String) |
Creates a route builder that can build a route matching this context. |