Partager via


CoreLoggerExtensions.ServiceProviderCreated Méthode

Définition

Journaux de l’événement 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)

Paramètres

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

Journal diagnostics à utiliser.

serviceProvider
IServiceProvider

Fournisseur de services.

S’applique à