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