Beispiel #1
0
 public void Write(StateBinaryWriter writer)
 {
     writer.WriteInt(_durationData.Size);
     foreach (TimeSpan duration in _durationData)
     {
         writer.WriteLong(duration.Ticks);
     }
     writer.WriteInt(_totalCount);
     writer.WriteLong(_totalSum.Ticks);
 }
 internal virtual void Write(StateBinaryWriter writer)
 {
     writer.WriteInt(Task.GetIndex());
     MeasurementSurrogate.Write(writer, this);
     writer.WriteLong(startTime.Value.Ticks);
 }