Share via


IInterceptors.Aggregate<TInterceptor> メソッド

定義

または 内部サービス プロバイダーにDbContext登録されているすべての 1 つ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

解決するインターセプターの種類。

戻り値

TInterceptor

解決されたインターセプター。登録されていない場合があります null

適用対象