Asp Net Core. Routing. Matching Namespace
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 types that are used to customize endpoint route matching.
Represents a set of Endpoint candidates that have been matched by the routing system. Used by implementations of EndpointSelector and IEndpointSelectorPolicy.
A comparer that can order Endpoint instances based on implementations of IEndpointComparerPolicy. The implementation can be retrieved from the service provider and provided to ExpandEndpoint(Int32, IReadOnlyList<Endpoint>, IComparer<Endpoint>).
A base class for IComparer<T> implementations that use a specific type of metadata from Metadata for comparison. Useful for implementing Comparer.
A service that is responsible for the final Endpoint selection decision. To use a custom EndpointSelector register an implementation of EndpointSelector in the dependency injection container as a singleton.
A MatcherPolicy that implements filtering and selection by the host header of a request.
An MatcherPolicy that implements filtering and selection by the HTTP method of a request.
Supports retrieving endpoints that fulfill a certain matcher policy.
The state associated with a candidate in a CandidateSet.
Represents an entry in a PolicyJumpTable.
Represents an edge in a matcher policy graph.
A MatcherPolicy interface that can be implemented to sort endpoints. Implementations of IEndpointComparerPolicy must inherit from MatcherPolicy and should be registered in the dependency injection container as singleton services of type MatcherPolicy.
A MatcherPolicy interface that can implemented to filter endpoints in a CandidateSet. Implementations of IEndpointSelectorPolicy must inherit from MatcherPolicy and should be registered in the dependency injection container as singleton services of type MatcherPolicy.
Implements an interface for a matcher policy with support for generating graph representations of the endpoints.
Defines the contract that a class must implement in order to check if a literal value is valid for a given constraint. When a parameter implements this interface, the router is able to optimize away some paths from the route table that don't match this constraint.
For more information about routing, see Routing in ASP.NET Core.