Skip to main content

Class EventTriggerDataLog

Represents a comprehensive data log capturing all relevant information of an EventTrigger object, including its name and a collection of timestamped trigger records, prior to data collection.

[Serializable]
public class EventTriggerDataLog : DataLog

Inheritance​

Remarks​

This class is used in conjunction with the EventTriggerDataLog class.

Constructors​

EventTriggerDataLog()​

Default constructor.

public EventTriggerDataLog()

EventTriggerDataLog(EventTriggerDataLog)​

Copy constructor that initializes a new instance of the EventTriggerDataLog class using another instance.

public EventTriggerDataLog(EventTriggerDataLog other)

Parameters​

NameTypeDescription
otherEventTriggerDataLogThe other EventTriggerDataLog instance to copy.

EventTriggerDataLog(string)​

Initializes a new instance of the EventTriggerDataLog class with a specified event name.

public EventTriggerDataLog(string name)

Parameters​

NameTypeDescription
namestringThe name of the event.

Fields​

event_logs​

The list of trigger records.

public List<TriggerRecord> event_logs

Field Value​

List<TriggerRecord>

event_name​

The name of the event.

public string event_name

Field Value​

string

Methods​

Add(TriggerRecord)​

Adds a new event trigger log to the list of event logs.

public void Add(TriggerRecord log)

Parameters​

NameTypeDescription
logTriggerRecordThe TriggerRecord to add.