EndpointFilterExtensions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增 IEndpointFilter 至路由處理常式的擴充方法。
public static class EndpointFilterExtensions
type EndpointFilterExtensions = class
Public Module EndpointFilterExtensions
- 繼承
-
EndpointFilterExtensions
方法
AddEndpointFilter<TBuilder,TFilterType>(TBuilder) |
在路由處理常式上註冊類型的 |
AddEndpointFilter<TBuilder>(TBuilder, Func<EndpointFilterInvocationContext,EndpointFilterDelegate,ValueTask<Object>>) |
向路由處理常式註冊指定的委派篩選。 |
AddEndpointFilter<TBuilder>(TBuilder, IEndpointFilter) |
在路由處理常式上註冊篩選。 |
AddEndpointFilter<TFilterType>(RouteGroupBuilder) |
在路由處理常式上註冊類型的 |
AddEndpointFilter<TFilterType>(RouteHandlerBuilder) |
在路由處理常式上註冊類型的 |
AddEndpointFilterFactory<TBuilder>(TBuilder, Func<EndpointFilterFactoryContext,EndpointFilterDelegate,EndpointFilterDelegate>) |
為代表篩選處理站的委派註冊篩選。 |