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