Compartir a través de


ServiceCollectionExtensions.AddGrainCallFilter Método

Definición

Sobrecargas

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Agrega un objeto IGrainCallFilter a la canalización de filtro a través de un delegado.

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

Agrega un IGrainCallFilter objeto a la canalización de filtro.

AddGrainCallFilter<TImplementation>(IServiceCollection)

Agrega un IGrainCallFilter objeto a la canalización de filtro.

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Agrega un objeto IGrainCallFilter a la canalización de filtro a través de un 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

Colección de servicios.

filter
GrainCallFilterDelegate

El filtro.

Devoluciones

Colección de servicios.

Se aplica a

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

Agrega un IGrainCallFilter objeto a la canalización 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

Colección de servicios.

filter
IGrainCallFilter

El filtro.

Devoluciones

Colección de servicios.

Se aplica a

AddGrainCallFilter<TImplementation>(IServiceCollection)

Agrega un IGrainCallFilter objeto a la canalización 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

Tipo de implementación de filtro.

Parámetros

collection
IServiceCollection

Colección de servicios.

Devoluciones

Colección de servicios.

Se aplica a