SiloBuilderStreamingExtensions.AddStreamFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddStreamFilter<T>(IClientBuilder, String) |
添加流筛选器。 |
AddStreamFilter<T>(ISiloBuilder, String) |
添加流筛选器。 |
AddStreamFilter<T>(IClientBuilder, String)
添加流筛选器。
public static Orleans.Hosting.IClientBuilder AddStreamFilter<T> (this Orleans.Hosting.IClientBuilder builder, string name) where T : class, Orleans.Streams.Filtering.IStreamFilter;
static member AddStreamFilter : Orleans.Hosting.IClientBuilder * string -> Orleans.Hosting.IClientBuilder (requires 'T : null and 'T :> Orleans.Streams.Filtering.IStreamFilter)
<Extension()>
Public Function AddStreamFilter(Of T As {Class, IStreamFilter}) (builder As IClientBuilder, name As String) As IClientBuilder
类型参数
- T
流筛选器类型。
参数
- builder
- IClientBuilder
生成器。
- name
- String
流筛选器名称。
返回
客户端生成器。
适用于
AddStreamFilter<T>(ISiloBuilder, String)
添加流筛选器。
public static Orleans.Hosting.ISiloBuilder AddStreamFilter<T> (this Orleans.Hosting.ISiloBuilder builder, string name) where T : class, Orleans.Streams.Filtering.IStreamFilter;
static member AddStreamFilter : Orleans.Hosting.ISiloBuilder * string -> Orleans.Hosting.ISiloBuilder (requires 'T : null and 'T :> Orleans.Streams.Filtering.IStreamFilter)
<Extension()>
Public Function AddStreamFilter(Of T As {Class, IStreamFilter}) (builder As ISiloBuilder, name As String) As ISiloBuilder
类型参数
- T
流筛选器类型。
参数
- builder
- ISiloBuilder
生成器。
- name
- String
流筛选器名称。
返回
silo 生成器。