Compartir a través de


StreamingServiceCollectionExtensions.AddStreamFilter<T> Método

Definición

Agrega un filtro de flujo.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddStreamFilter<T> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name) where T : class, Orleans.Streams.Filtering.IStreamFilter;
static member AddStreamFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection * string -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'T : null and 'T :> Orleans.Streams.Filtering.IStreamFilter)
<Extension()>
Public Function AddStreamFilter(Of T As {Class, IStreamFilter}) (services As IServiceCollection, name As String) As IServiceCollection

Parámetros de tipo

T

Tipo de filtro de secuencia.

Parámetros

services
IServiceCollection

Colección de servicios.

name
String

Nombre del filtro de secuencia.

Devoluciones

Colección de servicios.

Se aplica a