Share via


DirectRouteFactoryContext Class

Definition

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)

Creates a route builder that can build a route matching this context.

CreateBuilder(String, IInlineConstraintResolver)

Creates a route builder that can build a route matching this context.

Applies to