Share via


IInterceptorAggregator.AggregateInterceptors Method

Definition

Resolves a single IInterceptor from all those registered on the DbContext or in the internal service provider.

public Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor AggregateInterceptors (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor> interceptors);
public Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor? AggregateInterceptors (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor> interceptors);
abstract member AggregateInterceptors : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor> -> Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor
Public Function AggregateInterceptors (interceptors As IReadOnlyList(Of IInterceptor)) As IInterceptor

Parameters

interceptors
IReadOnlyList<IInterceptor>

The interceptors to combine.

Returns

The combined interceptor.

Applies to