IInterceptorAggregator.AggregateInterceptors 方法

定义

从在 或 内部服务提供程序中DbContext注册的所有实例中解析单个 IInterceptor

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

参数

interceptors
IReadOnlyList<IInterceptor>

要合并的侦听器。

返回

组合的侦听器。

适用于