SiloHostBuilderGrainCallFilterExtensions.AddIncomingGrainCallFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddIncomingGrainCallFilter(ISiloHostBuilder, IIncomingGrainCallFilter)
向筛选器管道添加一个 IIncomingGrainCallFilter 。
public static Orleans.Hosting.ISiloHostBuilder AddIncomingGrainCallFilter (this Orleans.Hosting.ISiloHostBuilder builder, Orleans.IIncomingGrainCallFilter filter);
static member AddIncomingGrainCallFilter : Orleans.Hosting.ISiloHostBuilder * Orleans.IIncomingGrainCallFilter -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddIncomingGrainCallFilter (builder As ISiloHostBuilder, filter As IIncomingGrainCallFilter) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
生成器。
- filter
- IIncomingGrainCallFilter
筛选器。
返回
生成器。
适用于
AddIncomingGrainCallFilter(ISiloHostBuilder, IncomingGrainCallFilterDelegate)
通过委托将筛选器 IOutgoingGrainCallFilter 管道添加到筛选器管道。
public static Orleans.Hosting.ISiloHostBuilder AddIncomingGrainCallFilter (this Orleans.Hosting.ISiloHostBuilder builder, Orleans.IncomingGrainCallFilterDelegate filter);
static member AddIncomingGrainCallFilter : Orleans.Hosting.ISiloHostBuilder * Orleans.IncomingGrainCallFilterDelegate -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddIncomingGrainCallFilter (builder As ISiloHostBuilder, filter As IncomingGrainCallFilterDelegate) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
生成器。
筛选器。
返回
生成器。
适用于
AddIncomingGrainCallFilter<TImplementation>(ISiloHostBuilder)
向筛选器管道添加一个 IIncomingGrainCallFilter 。
public static Orleans.Hosting.ISiloHostBuilder AddIncomingGrainCallFilter<TImplementation> (this Orleans.Hosting.ISiloHostBuilder builder) where TImplementation : class, Orleans.IIncomingGrainCallFilter;
static member AddIncomingGrainCallFilter : Orleans.Hosting.ISiloHostBuilder -> Orleans.Hosting.ISiloHostBuilder (requires 'Implementation : null and 'Implementation :> Orleans.IIncomingGrainCallFilter)
<Extension()>
Public Function AddIncomingGrainCallFilter(Of TImplementation As {Class, IIncomingGrainCallFilter}) (builder As ISiloHostBuilder) As ISiloHostBuilder
类型参数
- TImplementation
筛选器实现类型。
参数
- builder
- ISiloHostBuilder
生成器。
返回
生成器。