Edytuj

Udostępnij za pośrednictwem


SiloBuilderStreamingExtensions.AddStreamFilter Method

Definition

Overloads

AddStreamFilter<T>(IClientBuilder, String)

Adds a stream filter.

AddStreamFilter<T>(ISiloBuilder, String)

Adds a stream filter.

AddStreamFilter<T>(IClientBuilder, String)

Adds a stream filter.

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

Type Parameters

T

The stream filter type.

Parameters

builder
IClientBuilder

The builder.

name
String

The stream filter name.

Returns

The client builder.

Applies to

AddStreamFilter<T>(ISiloBuilder, String)

Adds a stream filter.

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

Type Parameters

T

The stream filter type.

Parameters

builder
ISiloBuilder

The builder.

name
String

The stream filter name.

Returns

The silo builder.

Applies to