EndpointFilterExtensions 類別

定義

新增 IEndpointFilter 至路由處理常式的擴充方法。

public static class EndpointFilterExtensions
type EndpointFilterExtensions = class
Public Module EndpointFilterExtensions
繼承
EndpointFilterExtensions

方法

AddEndpointFilter<TBuilder,TFilterType>(TBuilder)

在路由處理常式上註冊類型的 TFilterType 篩選。

AddEndpointFilter<TBuilder>(TBuilder, Func<EndpointFilterInvocationContext,EndpointFilterDelegate,ValueTask<Object>>)

向路由處理常式註冊指定的委派篩選。

AddEndpointFilter<TBuilder>(TBuilder, IEndpointFilter)

在路由處理常式上註冊篩選。

AddEndpointFilter<TFilterType>(RouteGroupBuilder)

在路由處理常式上註冊類型的 TFilterType 篩選。

AddEndpointFilter<TFilterType>(RouteHandlerBuilder)

在路由處理常式上註冊類型的 TFilterType 篩選。

AddEndpointFilterFactory<TBuilder>(TBuilder, Func<EndpointFilterFactoryContext,EndpointFilterDelegate,EndpointFilterDelegate>)

為代表篩選處理站的委派註冊篩選。

適用於