Dela via


IEndpointSelectorPolicy Interface

Definition

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.

public interface class IEndpointSelectorPolicy
public interface IEndpointSelectorPolicy
type IEndpointSelectorPolicy = interface
Public Interface IEndpointSelectorPolicy
Derived

Methods

AppliesToEndpoints(IReadOnlyList<Endpoint>)

Returns a value that indicates whether the IEndpointSelectorPolicy applies to any endpoint in endpoints.

ApplyAsync(HttpContext, CandidateSet)

Applies the policy to the CandidateSet.

ApplyAsync(HttpContext, EndpointSelectorContext, CandidateSet)

Applies the policy to the CandidateSet.

Applies to