示例#1
0
 private TimeSpan NextElapsed()
 {
     return
         (ElapsedTimes.MoveNext()
         ? ElapsedTimes.Current
         : throw new InvalidOperationException("You did not define enough timestamps."));
 }
示例#2
0
 public void Reset()
 {
     ElapsedTimes.Reset();
     ElapsedTimes.MoveNext();
 }