IInterceptors.Aggregate<TInterceptor> 메서드

정의

내부 서비스 공급자에 또는 에 DbContext 등록된 모든 에서 단일 TInterceptor 을 확인합니다.

public TInterceptor Aggregate<TInterceptor> () where TInterceptor : class, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor;
public TInterceptor? Aggregate<TInterceptor> () where TInterceptor : class, Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor;
abstract member Aggregate : unit -> 'Interceptor (requires 'Interceptor : null and 'Interceptor :> Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor)
Public Function Aggregate(Of TInterceptor As {Class, IInterceptor}) () As TInterceptor

형식 매개 변수

TInterceptor

resolve 인터셉터 형식입니다.

반환

TInterceptor

확인된 인터셉터이며, 등록되지 않은 경우일 null 수 있습니다.

적용 대상