语言

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>

要组合的拦截器。

返回

组合拦截器。

适用于