Compartir a través de


CoreLoggerExtensions.ServiceProviderCreated Método

Definición

Registros del ServiceProviderCreated evento.

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)

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Registrador de diagnóstico que se va a usar.

serviceProvider
IServiceProvider

Proveedor de servicios.

Se aplica a