Condividi tramite


ServiceCollectionExtensions.AddGrainCallFilter Metodo

Definizione

Overload

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Aggiunge un oggetto IGrainCallFilter alla pipeline di filtro tramite un delegato.

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

Aggiunge un IGrainCallFilter oggetto alla pipeline di filtro.

AddGrainCallFilter<TImplementation>(IServiceCollection)

Aggiunge un IGrainCallFilter oggetto alla pipeline di filtro.

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Aggiunge un oggetto IGrainCallFilter alla pipeline di filtro tramite un delegato.

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

Parametri

collection
IServiceCollection

Raccolta di servizi.

filter
GrainCallFilterDelegate

Filtro.

Restituisce

Raccolta di servizi.

Si applica a

AddGrainCallFilter(IServiceCollection, IGrainCallFilter)

Aggiunge un IGrainCallFilter oggetto alla pipeline di 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

Parametri

collection
IServiceCollection

Raccolta di servizi.

filter
IGrainCallFilter

Filtro.

Restituisce

Raccolta di servizi.

Si applica a

AddGrainCallFilter<TImplementation>(IServiceCollection)

Aggiunge un IGrainCallFilter oggetto alla pipeline di 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

Parametri di tipo

TImplementation

Tipo di implementazione del filtro.

Parametri

collection
IServiceCollection

Raccolta di servizi.

Restituisce

Raccolta di servizi.

Si applica a