Share via


ValueConverterEventData Constructor

Definition

Constructs the event payload.

public ValueConverterEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Type mappingClrType, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter valueConverter);
new Microsoft.EntityFrameworkCore.Diagnostics.ValueConverterEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Type * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.Diagnostics.ValueConverterEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), mappingClrType As Type, valueConverter As ValueConverter)

Parameters

eventDefinition
EventDefinitionBase

The event definition.

messageGenerator
Func<EventDefinitionBase,EventData,String>

A delegate that generates a log message for this event.

mappingClrType
Type

The CLR type.

valueConverter
ValueConverter

The ValueConverter.

Applies to