Share via


InterceptorAggregator<TInterceptor>.AggregateInterceptors Method

Definition

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

public virtual Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor AggregateInterceptors (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor> interceptors);
public virtual 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
override this.AggregateInterceptors : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor> -> Microsoft.EntityFrameworkCore.Diagnostics.IInterceptor
Public Overridable Function AggregateInterceptors (interceptors As IReadOnlyList(Of IInterceptor)) As IInterceptor

Parameters

interceptors
IReadOnlyList<IInterceptor>

The interceptors to combine.

Returns

The combined interceptor.

Implements

Applies to