GrainCallFilterExtensions.AddGrainCallFilter Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate) |
Obsoleti.
Aggiunge un oggetto IIncomingGrainCallFilter alla pipeline di filtro tramite un delegato. |
AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter) |
Obsoleti.
Aggiunge un IIncomingGrainCallFilter oggetto alla pipeline di filtro. |
AddGrainCallFilter<TImplementation>(IServiceCollection) |
Obsoleti.
Aggiunge un IIncomingGrainCallFilter oggetto alla pipeline di filtro. |
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
- Origine:
- GrainCallFilterExtensions.cs
Attenzione
Use ISiloHostBuilder.AddIncomingGrainCallFilter
Aggiunge un oggetto IIncomingGrainCallFilter alla pipeline di filtro tramite un delegato.
[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
Parametri
- services
- IServiceCollection
Raccolta di servizi.
- filter
- GrainCallFilterDelegate
Filtro.
Restituisce
Raccolta di servizi.
- Attributi
Si applica a
AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)
- Origine:
- GrainCallFilterExtensions.cs
Attenzione
Use ISiloHostBuilder.AddIncomingGrainCallFilter
Aggiunge un IIncomingGrainCallFilter oggetto alla pipeline di filtro.
[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
Parametri
- services
- IServiceCollection
Raccolta di servizi.
- filter
- IIncomingGrainCallFilter
Filtro.
Restituisce
Raccolta di servizi.
- Attributi
Si applica a
AddGrainCallFilter<TImplementation>(IServiceCollection)
- Origine:
- GrainCallFilterExtensions.cs
Attenzione
Use ISiloHostBuilder.AddIncomingGrainCallFilter
Aggiunge un IIncomingGrainCallFilter oggetto alla pipeline di filtro.
[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
Parametri di tipo
- TImplementation
Tipo di implementazione del filtro.
Parametri
- services
- IServiceCollection
Raccolta di servizi.
Restituisce
Raccolta di servizi.
- Attributi