ServiceCollectionExtensions.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) |
Adds an IGrainCallFilter to the filter pipeline via a delegate. |
AddGrainCallFilter(IServiceCollection, IGrainCallFilter) |
Adds an IGrainCallFilter to the filter pipeline. |
AddGrainCallFilter<TImplementation>(IServiceCollection) |
Adds an IGrainCallFilter to the filter pipeline. |
AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
Adds an IGrainCallFilter to the filter pipeline via a delegate.
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
Parameters
- collection
- IServiceCollection
The service collection.
- filter
- GrainCallFilterDelegate
The filter.
Returns
The service collection.
Applies to
AddGrainCallFilter(IServiceCollection, IGrainCallFilter)
Adds an IGrainCallFilter to the filter pipeline.
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
Parameters
- collection
- IServiceCollection
The service collection.
- filter
- IGrainCallFilter
The filter.
Returns
The service collection.
Applies to
AddGrainCallFilter<TImplementation>(IServiceCollection)
Adds an IGrainCallFilter to the filter pipeline.
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
Type Parameters
- TImplementation
The filter implementation type.
Parameters
- collection
- IServiceCollection
The service collection.
Returns
The service collection.