SequenceEventData 构造函数

定义

重载

SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlySequence)

构造事件有效负载。

SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, ISequence)

构造事件有效负载。

SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, IReadOnlySequence)

Source:
SequenceEventData.cs
Source:
SequenceEventData.cs
Source:
SequenceEventData.cs
Source:
SequenceEventData.cs

构造事件有效负载。

public SequenceEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence sequence);
new Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence -> Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), sequence As IReadOnlySequence)

参数

eventDefinition
EventDefinitionBase

事件定义。

messageGenerator
Func<EventDefinitionBase,EventData,String>

生成此事件的日志消息的委托。

sequence
IReadOnlySequence

序列。

适用于

SequenceEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, ISequence)

Source:
SequenceEventData.cs
Source:
SequenceEventData.cs
Source:
SequenceEventData.cs
Source:
SequenceEventData.cs
Source:
SequenceEventData.cs

构造事件有效负载。

public SequenceEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.Metadata.ISequence sequence);
new Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.Metadata.ISequence -> Microsoft.EntityFrameworkCore.Diagnostics.SequenceEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), sequence As ISequence)

参数

eventDefinition
EventDefinitionBase

事件定义。

messageGenerator
Func<EventDefinitionBase,EventData,String>

生成此事件的日志消息的委托。

sequence
ISequence

序列。

适用于