EndpointFilterExtensions
AddEndpointFilter<TFilterType>(RouteGroupBuilder)
AddEndpointFilter<TFilterType>(RouteHandlerBuilder)
AddEndpointFilter<TBuilder>(TBuilder, IEndpointFilter)
AddEndpointFilter<TBuilder>(TBuilder, Func<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask<Object>>)
AddEndpointFilter<TBuilder, TFilterType>(TBuilder)
AddEndpointFilterFactory<TBuilder>(TBuilder, Func<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>)
net9.0
namespace Microsoft.AspNetCore.Http
{
public static class EndpointFilterExtensions
{
public static TBuilder AddEndpointFilter<TBuilder>(this TBuilder builder, Func<EndpointFilterInvocationContext!, EndpointFilterDelegate!, ValueTask<object?>>! routeHandlerFilter)
where TBuilder, IEndpointConventionBuilder!;
}
}
.NET | 7.08.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Routing , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API