CoreLoggerExtensions.ManyServiceProvidersCreatedWarning 方法

定义

public static void ManyServiceProvidersCreatedWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, System.Collections.Generic.ICollection<IServiceProvider> serviceProviders);
static member ManyServiceProvidersCreatedWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * System.Collections.Generic.ICollection<IServiceProvider> -> unit
<Extension()>
Public Sub ManyServiceProvidersCreatedWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), serviceProviders As ICollection(Of IServiceProvider))

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

要使用的诊断记录器。

serviceProviders
ICollection<IServiceProvider>

已创建的服务提供程序。

适用于