ServiceCollectionExtensions.AddGrainCallFilter Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate) |
Ajoute un IGrainCallFilter au pipeline de filtre via un délégué. |
AddGrainCallFilter(IServiceCollection, IGrainCallFilter) |
Ajoute un IGrainCallFilter au pipeline de filtre. |
AddGrainCallFilter<TImplementation>(IServiceCollection) |
Ajoute un IGrainCallFilter au pipeline de filtre. |
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
Ajoute un IGrainCallFilter au pipeline de filtre via un délégué.
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
Paramètres
- collection
- IServiceCollection
Collection de services.
- filter
- GrainCallFilterDelegate
Filtre.
Retours
Collection de services.
S’applique à
AddGrainCallFilter(IServiceCollection, IGrainCallFilter)
Ajoute un IGrainCallFilter au pipeline de filtre.
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
Paramètres
- collection
- IServiceCollection
Collection de services.
- filter
- IGrainCallFilter
Filtre.
Retours
Collection de services.
S’applique à
AddGrainCallFilter<TImplementation>(IServiceCollection)
Ajoute un IGrainCallFilter au pipeline de filtre.
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
Paramètres de type
- TImplementation
Type d’implémentation de filtre.
Paramètres
- collection
- IServiceCollection
Collection de services.
Retours
Collection de services.