Lue englanniksi

Jaa


MatcherPolicy Class

Definition

Defines a policy that applies behaviors to the URL matcher. Implementations of MatcherPolicy and related interfaces must be registered in the dependency injection container as singleton services of type MatcherPolicy.

C#
public abstract class MatcherPolicy
Inheritance
MatcherPolicy
Derived

Remarks

MatcherPolicy implementations can implement the following interfaces IEndpointComparerPolicy, IEndpointSelectorPolicy, and INodeBuilderPolicy.

Constructors

Properties

Order

Gets a value that determines the order the MatcherPolicy should be applied. Policies are applied in ascending numeric value of the Order property.

Methods

ContainsDynamicEndpoints(IReadOnlyList<Endpoint>)

Returns a value that indicates whether the provided endpoints contains one or more dynamic endpoints.

Applies to

Tuote Versiot
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0