Partilhar via


ServiceCollectionExtensions.AddGrainCallFilter Método

Definição

Sobrecargas

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Adiciona um IGrainCallFilter ao pipeline de filtro por meio de um delegado.

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

Adiciona um IGrainCallFilter ao pipeline de filtro.

AddGrainCallFilter<TImplementation>(IServiceCollection)

Adiciona um IGrainCallFilter ao pipeline de filtro.

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Adiciona um IGrainCallFilter ao pipeline de filtro por meio de um delegado.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, Orleans.GrainCallFilterDelegate filter);
static member AddGrainCallFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection * Orleans.GrainCallFilterDelegate -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddGrainCallFilter (collection As IServiceCollection, filter As GrainCallFilterDelegate) As IServiceCollection

Parâmetros

collection
IServiceCollection

A coleção de serviços.

filter
GrainCallFilterDelegate

O filtro.

Retornos

A coleção de serviços.

Aplica-se a

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

Adiciona um IGrainCallFilter ao pipeline de filtro.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, Orleans.IGrainCallFilter filter);
static member AddGrainCallFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection * Orleans.IGrainCallFilter -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddGrainCallFilter (collection As IServiceCollection, filter As IGrainCallFilter) As IServiceCollection

Parâmetros

collection
IServiceCollection

A coleção de serviços.

filter
IGrainCallFilter

O filtro.

Retornos

A coleção de serviços.

Aplica-se a

AddGrainCallFilter<TImplementation>(IServiceCollection)

Adiciona um IGrainCallFilter ao pipeline de filtro.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter<TImplementation> (this Microsoft.Extensions.DependencyInjection.IServiceCollection collection) where TImplementation : class, Orleans.IGrainCallFilter;
static member AddGrainCallFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'Implementation : null and 'Implementation :> Orleans.IGrainCallFilter)
<Extension()>
Public Function AddGrainCallFilter(Of TImplementation As {Class, IGrainCallFilter}) (collection As IServiceCollection) As IServiceCollection

Parâmetros de tipo

TImplementation

O tipo de implementação de filtro.

Parâmetros

collection
IServiceCollection

A coleção de serviços.

Retornos

A coleção de serviços.

Aplica-se a