Skip to main content

Class TimestampedDataLog

DataLog containing a collection of timestamped log entries.

[Serializable]
public class TimestampedDataLog : DataLog

Inheritance​

Constructors​

TimestampedDataLog()​

Constructor that initializes a new instance of the TimestampedDataLog class.

public TimestampedDataLog()

TimestampedDataLog(List<TimeStampedRecord>)​

Constructor that initializes a new instance of the TimestampedDataLog class with the specified list of timestamped log entries. It will create a copy and conver the list into an array.

public TimestampedDataLog(List<TimeStampedRecord> logs)

Parameters​

NameTypeDescription
logsList<TimeStampedRecord>The list of timestamped log entries to initialize the data log with.

TimestampedDataLog(TimeStampedRecord[])​

Constructor that initializes a new instance of the TimestampedDataLog class with the specified array of timestamped log entries.

public TimestampedDataLog(TimeStampedRecord[] logs)

Parameters​

NameTypeDescription
logsTimeStampedRecord[]The array of timestamped log entries to initialize the data log with.

TimestampedDataLog(IEnumerable<TimeStampedRecord>)​

Constructor that initializes a new instance of the TimestampedDataLog class with the specified enumerable collection of timestamped log entries. It will create a copy and convert the collection into an array.

public TimestampedDataLog(IEnumerable<TimeStampedRecord> logs)

Parameters​

NameTypeDescription
logsIEnumerable<TimeStampedRecord>The enumerable collection of timestamped log entries to initialize the data log with.

Fields​

timestamped_logs​

The array of timestamped log entries.

[SerializeReference]
public TimeStampedRecord[] timestamped_logs

Field Value​

TimeStampedRecord[]

  • Constructors
    • TimestampedDataLog()
    • TimestampedDataLog(List<TimeStampedRecord>)
    • TimestampedDataLog(TimeStampedRecord[])
    • TimestampedDataLog(IEnumerable<TimeStampedRecord>)
  • Fields
    • timestamped_logs