Udostępnij za pośrednictwem


CoreLoggerExtensions.ManyServiceProvidersCreatedWarning Metoda

Definicja

ManyServiceProvidersCreatedWarning Rejestruje zdarzenie.

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))

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Rejestrator diagnostyczny do użycia.

serviceProviders
ICollection<IServiceProvider>

Dostawcy usług, którzy zostali utworzeni.

Dotyczy