ServiceProviderDebugInfoEventData Costruttore

Definizione

Costruisce il payload dell'evento.

public ServiceProviderDebugInfoEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Collections.Generic.IDictionary<string,string> newDebugInfo, System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string,string>> cachedDebugInfos);
new Microsoft.EntityFrameworkCore.Diagnostics.ServiceProviderDebugInfoEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string, string>> -> Microsoft.EntityFrameworkCore.Diagnostics.ServiceProviderDebugInfoEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), newDebugInfo As IDictionary(Of String, String), cachedDebugInfos As IList(Of IDictionary(Of String, String)))

Parametri

eventDefinition
EventDefinitionBase

Definizione dell'evento.

messageGenerator
Func<EventDefinitionBase,EventData,String>

Delegato che genera un messaggio di log per questo evento.

newDebugInfo
IDictionary<String,String>

Informazioni di debug per il nuovo provider.

cachedDebugInfos
IList<IDictionary<String,String>>

Informazioni di debug per i provider esistenti.

Si applica a