Udostępnij za pośrednictwem


CoreLoggerExtensions.ServiceProviderCreated Metoda

Definicja

Rejestruje zdarzenie ServiceProviderCreated .

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

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Rejestrator diagnostyczny do użycia.

serviceProvider
IServiceProvider

Usługodawca.

Dotyczy