语言

InterceptorAggregator<TInterceptor>.AggregateInterceptors 方法

定义

解析在内部服务提供商或内部服务提供商中DbContext注册的所有注册项中的单个IInterceptor>/项。

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

参数

interceptors
IReadOnlyList<IInterceptor>

要组合的拦截器。

返回

组合拦截器。

实现

适用于