GrainCallFilterServiceCollectionExtensions.AddGrainCallFilter Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate) |
Obsoletos.
Agrega un IIncomingGrainCallFilter objeto a la canalización de filtro a través de un delegado. |
AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter) |
Obsoletos.
Agrega un IIncomingGrainCallFilter objeto a la canalización de filtro. |
AddGrainCallFilter<TImplementation>(IServiceCollection) |
Obsoletos.
Agrega un IIncomingGrainCallFilter objeto a la canalización de filtro. |
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
Precaución
Use ISiloBuilder.AddIncomingGrainCallFilter
Agrega un IIncomingGrainCallFilter objeto a la canalización de filtro a través de un 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
Colección de servicios.
- filter
- GrainCallFilterDelegate
El filtro.
Devoluciones
Colección de servicios.
- Atributos
Se aplica a
AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)
Precaución
Use ISiloBuilder.AddIncomingGrainCallFilter
Agrega un IIncomingGrainCallFilter objeto a la canalización 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
Colección de servicios.
- filter
- IIncomingGrainCallFilter
El filtro.
Devoluciones
Colección de servicios.
- Atributos
Se aplica a
AddGrainCallFilter<TImplementation>(IServiceCollection)
Precaución
Use ISiloBuilder.AddIncomingGrainCallFilter
Agrega un IIncomingGrainCallFilter objeto a la canalización 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
Tipo de implementación de filtro.
Parámetros
- services
- IServiceCollection
Colección de servicios.
Devoluciones
Colección de servicios.
- Atributos