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.

public ref class MatcherPolicy abstract
public abstract class MatcherPolicy
type MatcherPolicy = class
Public MustInherit Class MatcherPolicy
Inheritance
MatcherPolicy
Derived

Remarks

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

Constructors

MatcherPolicy()

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