public PerformanceData PushRecord(PerformanceRecord record) { PreviousRecord = CurrentRecord; CurrentRecord = record; CurrentRecord.RecordSpan = CurrentRecord.RecordTime.Subtract(PreviousRecord.RecordTime).TotalSeconds; return this; }
public PerformanceData() { CurrentRecord = new PerformanceRecord(); }
/// <summary> /// Initializes a new instance of the <see cref="PerformanceData"/> class. /// </summary> public PerformanceData() { CurrentRecord = new PerformanceRecord(); }