GrainCallFilterExtensions.AddGrainCallFilter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate) |
Obsolete.
Adds an IIncomingGrainCallFilter to the filter pipeline via a delegate. |
AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter) |
Obsolete.
Adds an IIncomingGrainCallFilter to the filter pipeline. |
AddGrainCallFilter<TImplementation>(IServiceCollection) |
Obsolete.
Adds an IIncomingGrainCallFilter to the filter pipeline. |
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
- Source:
- GrainCallFilterExtensions.cs
Caution
Use ISiloHostBuilder.AddIncomingGrainCallFilter
Adds an IIncomingGrainCallFilter to the filter pipeline via a delegate.
[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
Parameters
- services
- IServiceCollection
The service collection.
- filter
- GrainCallFilterDelegate
The filter.
Returns
The service collection.
- Attributes
Applies to
AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)
- Source:
- GrainCallFilterExtensions.cs
Caution
Use ISiloHostBuilder.AddIncomingGrainCallFilter
Adds an IIncomingGrainCallFilter to the filter pipeline.
[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
Parameters
- services
- IServiceCollection
The service collection.
- filter
- IIncomingGrainCallFilter
The filter.
Returns
The service collection.
- Attributes
Applies to
AddGrainCallFilter<TImplementation>(IServiceCollection)
- Source:
- GrainCallFilterExtensions.cs
Caution
Use ISiloHostBuilder.AddIncomingGrainCallFilter
Adds an IIncomingGrainCallFilter to the filter pipeline.
[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
Type Parameters
- TImplementation
The filter implementation type.
Parameters
- services
- IServiceCollection
The service collection.
Returns
The service collection.
- Attributes