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>)
net7.0
namespace Microsoft.AspNetCore.Http
{
public static class EndpointFilterExtensions
{
[RequiresUnreferencedCode("This API may perform reflection on the supplied delegate and its parameters. These types may be trimmed if not directly referenced.")]
public static TBuilder AddEndpointFilter<TBuilder>(this TBuilder builder, IEndpointFilter! filter)
where TBuilder, IEndpointConventionBuilder!;
}
}
Design Reviews |
|
---|---|
.NET | 7.08.09.0 |
Information specific to net7.0 | |
Assembly | Microsoft.AspNetCore.Routing , Version=7.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API