IInterceptors.Aggregate<TInterceptor> Metodo

Definizione

Risolve un singolo TInterceptor oggetto da tutti quelli registrati DbContext nel provider di servizi interni o.

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

Parametri di tipo

TInterceptor

Tipo di intercettatore da risolvere.

Restituisce

TInterceptor

L'intercettatore risolto, che può essere null se nessuna è registrata.

Si applica a