CoreLoggerExtensions.RedundantAddServicesCallWarning 方法

定义

public static void RedundantAddServicesCallWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, IServiceProvider serviceProvider);
static member RedundantAddServicesCallWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * IServiceProvider -> unit
<Extension()>
Public Sub RedundantAddServicesCallWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), serviceProvider As IServiceProvider)

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

要使用的诊断记录器。

serviceProvider
IServiceProvider

使用的服务提供商。

适用于