IEndpointSelectorPolicy Interface
Definition
Important
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.
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 |
ApplyAsync(HttpContext, CandidateSet) |
Applies the policy to the CandidateSet. |
ApplyAsync(HttpContext, EndpointSelectorContext, CandidateSet) |
Applies the policy to the CandidateSet. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for