다음을 통해 공유


GrainCallFilterServiceCollectionExtensions.AddGrainCallFilter 메서드

정의

오버로드

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)
사용되지 않음.

대리자를 IIncomingGrainCallFilter 통해 필터 파이프라인에 를 추가합니다.

AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)
사용되지 않음.

필터 파이프라인에 를 IIncomingGrainCallFilter 추가합니다.

AddGrainCallFilter<TImplementation>(IServiceCollection)
사용되지 않음.

필터 파이프라인에 를 IIncomingGrainCallFilter 추가합니다.

AddGrainCallFilter(IServiceCollection, GrainCallFilterDelegate)

주의

Use ISiloBuilder.AddIncomingGrainCallFilter

대리자를 IIncomingGrainCallFilter 통해 필터 파이프라인에 를 추가합니다.

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

매개 변수

services
IServiceCollection

서비스 컬렉션입니다.

filter
GrainCallFilterDelegate

필터입니다.

반환

서비스 컬렉션입니다.

특성

적용 대상

AddGrainCallFilter(IServiceCollection, IIncomingGrainCallFilter)

주의

Use ISiloBuilder.AddIncomingGrainCallFilter

필터 파이프라인에 를 IIncomingGrainCallFilter 추가합니다.

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

매개 변수

services
IServiceCollection

서비스 컬렉션입니다.

filter
IIncomingGrainCallFilter

필터입니다.

반환

서비스 컬렉션입니다.

특성

적용 대상

AddGrainCallFilter<TImplementation>(IServiceCollection)

주의

Use ISiloBuilder.AddIncomingGrainCallFilter

필터 파이프라인에 를 IIncomingGrainCallFilter 추가합니다.

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

형식 매개 변수

TImplementation

필터 구현 형식입니다.

매개 변수

services
IServiceCollection

서비스 컬렉션입니다.

반환

서비스 컬렉션입니다.

특성

적용 대상