Compartilhar via


GrainCallFilterExtensions.AddGrainCallFilter Método

Definição

Sobrecargas

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
Obsoleto.

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

AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)
Obsoleto.

Adiciona um IIncomingGrainCallFilter ao pipeline de filtro.

AddGrainCallFilter<TImplementation>(IServiceCollection)
Obsoleto.

Adiciona um IIncomingGrainCallFilter ao pipeline de filtro.

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Origem:
GrainCallFilterExtensions.cs

Cuidado

Use ISiloHostBuilder.AddIncomingGrainCallFilter

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

[System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.GrainCallFilterDelegate filter);
[<System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)>]
static member AddGrainCallFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection * Orleans.GrainCallFilterDelegate -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddGrainCallFilter (services As IServiceCollection, filter As GrainCallFilterDelegate) As IServiceCollection

Parâmetros

services
IServiceCollection

A coleção de serviços.

filter
GrainCallFilterDelegate

O filtro.

Retornos

A coleção de serviços.

Atributos

Aplica-se a

AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)

Origem:
GrainCallFilterExtensions.cs

Cuidado

Use ISiloHostBuilder.AddIncomingGrainCallFilter

Adiciona um IIncomingGrainCallFilter ao pipeline de filtro.

[System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.IIncomingGrainCallFilter filter);
[<System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)>]
static member AddGrainCallFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection * Orleans.IIncomingGrainCallFilter -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddGrainCallFilter (services As IServiceCollection, filter As IIncomingGrainCallFilter) As IServiceCollection

Parâmetros

services
IServiceCollection

A coleção de serviços.

filter
IIncomingGrainCallFilter

O filtro.

Retornos

A coleção de serviços.

Atributos

Aplica-se a

AddGrainCallFilter<TImplementation>(IServiceCollection)

Origem:
GrainCallFilterExtensions.cs

Cuidado

Use ISiloHostBuilder.AddIncomingGrainCallFilter

Adiciona um IIncomingGrainCallFilter ao pipeline de filtro.

[System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter<TImplementation> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TImplementation : class, Orleans.IIncomingGrainCallFilter;
[<System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)>]
static member AddGrainCallFilter : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'Implementation : null and 'Implementation :> Orleans.IIncomingGrainCallFilter)
<Extension()>
Public Function AddGrainCallFilter(Of TImplementation As {Class, IIncomingGrainCallFilter}) (services As IServiceCollection) As IServiceCollection

Parâmetros de tipo

TImplementation

O tipo de implementação de filtro.

Parâmetros

services
IServiceCollection

A coleção de serviços.

Retornos

A coleção de serviços.

Atributos

Aplica-se a