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