GrainCallFilterServiceCollectionExtensions.AddGrainCallFilter Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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)
Cuidado
Use ISiloBuilder.AddIncomingGrainCallFilter
Adiciona um IIncomingGrainCallFilter ao pipeline de filtro por meio de um delegado.
[System.Obsolete("Use ISiloBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.GrainCallFilterDelegate filter);
[<System.Obsolete("Use ISiloBuilder.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)
Cuidado
Use ISiloBuilder.AddIncomingGrainCallFilter
Adiciona um IIncomingGrainCallFilter ao pipeline de filtro.
[System.Obsolete("Use ISiloBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.IIncomingGrainCallFilter filter);
[<System.Obsolete("Use ISiloBuilder.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)
Cuidado
Use ISiloBuilder.AddIncomingGrainCallFilter
Adiciona um IIncomingGrainCallFilter ao pipeline de filtro.
[System.Obsolete("Use ISiloBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter<TImplementation> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TImplementation : class, Orleans.IIncomingGrainCallFilter;
[<System.Obsolete("Use ISiloBuilder.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