EndpointFilterExtensions Class
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.
Extension methods for adding IEndpointFilter to a route handler.
public static class EndpointFilterExtensions
type EndpointFilterExtensions = class
Public Module EndpointFilterExtensions
- Inheritance
-
EndpointFilterExtensions
Methods
AddEndpointFilter<TBuilder,TFilterType>(TBuilder) |
Registers a filter of type |
AddEndpointFilter<TBuilder>(TBuilder, Func<EndpointFilterInvocationContext,EndpointFilterDelegate,ValueTask<Object>>) |
Registers a filter given a delegate onto the route handler. |
AddEndpointFilter<TBuilder>(TBuilder, IEndpointFilter) |
Registers a filter onto the route handler. |
AddEndpointFilter<TFilterType>(RouteGroupBuilder) |
Registers a filter of type |
AddEndpointFilter<TFilterType>(RouteHandlerBuilder) |
Registers a filter of type |
AddEndpointFilterFactory<TBuilder>(TBuilder, Func<EndpointFilterFactoryContext,EndpointFilterDelegate,EndpointFilterDelegate>) |
Register a filter given a delegate representing the filter factory. |