Class ServiceProviderDebugInfoEventData
- Namespace
- Microsoft.EntityFrameworkCore.Diagnostics
- Assembly
- Microsoft.EntityFrameworkCore.dll
A DiagnosticSource event payload class for events that reference debug information on service provider creation.
public class ServiceProviderDebugInfoEventData : EventData
- Inheritance
-
ServiceProviderDebugInfoEventData
- Inherited Members
Remarks
See Logging, events, and diagnostics for more information and examples.
Constructors
ServiceProviderDebugInfoEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, string>, IDictionary<string, string>, IList<IDictionary<string, string>>)
Constructs the event payload.
public ServiceProviderDebugInfoEventData(EventDefinitionBase eventDefinition, Func<EventDefinitionBase, EventData, string> messageGenerator, IDictionary<string, string> newDebugInfo, IList<IDictionary<string, string>> cachedDebugInfos)
Parameters
eventDefinition
EventDefinitionBaseThe event definition.
messageGenerator
Func<EventDefinitionBase, EventData, string>A delegate that generates a log message for this event.
newDebugInfo
IDictionary<string, string>The debug information for the new provider.
cachedDebugInfos
IList<IDictionary<string, string>>The debug information for existing providers.
Properties
CachedDebugInfos
The debug information for existing providers.
public virtual IList<IDictionary<string, string>> CachedDebugInfos { get; }
Property Value
NewDebugInfo
The debug information for the new provider.
public virtual IDictionary<string, string> NewDebugInfo { get; }