Partager via


GrainCallFilterExtensions.AddGrainCallFilter Méthode

Définition

Surcharges

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
Obsolète.

Ajoute un IIncomingGrainCallFilter au pipeline de filtre via un délégué.

AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)
Obsolète.

Ajoute un IIncomingGrainCallFilter au pipeline de filtre.

AddGrainCallFilter<TImplementation>(IServiceCollection)
Obsolète.

Ajoute un IIncomingGrainCallFilter au pipeline de filtre.

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

Source:
GrainCallFilterExtensions.cs

Attention

Use ISiloHostBuilder.AddIncomingGrainCallFilter

Ajoute un IIncomingGrainCallFilter au pipeline de filtre via un délégué.

[System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.GrainCallFilterDelegate filter);
[<System.Obsolete("Use ISiloHostBuilder.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

Paramètres

services
IServiceCollection

Collection de services.

filter
GrainCallFilterDelegate

Filtre.

Retours

Collection de services.

Attributs

S’applique à

AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)

Source:
GrainCallFilterExtensions.cs

Attention

Use ISiloHostBuilder.AddIncomingGrainCallFilter

Ajoute un IIncomingGrainCallFilter au pipeline de filtre.

[System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Orleans.IIncomingGrainCallFilter filter);
[<System.Obsolete("Use ISiloHostBuilder.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

Paramètres

services
IServiceCollection

Collection de services.

filter
IIncomingGrainCallFilter

Filtre.

Retours

Collection de services.

Attributs

S’applique à

AddGrainCallFilter<TImplementation>(IServiceCollection)

Source:
GrainCallFilterExtensions.cs

Attention

Use ISiloHostBuilder.AddIncomingGrainCallFilter

Ajoute un IIncomingGrainCallFilter au pipeline de filtre.

[System.Obsolete("Use ISiloHostBuilder.AddIncomingGrainCallFilter", true)]
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGrainCallFilter<TImplementation> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TImplementation : class, Orleans.IIncomingGrainCallFilter;
[<System.Obsolete("Use ISiloHostBuilder.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

Paramètres de type

TImplementation

Type d’implémentation de filtre.

Paramètres

services
IServiceCollection

Collection de services.

Retours

Collection de services.

Attributs

S’applique à