public void MoveNext()
 {
     if (currentIndex >= data.Count)
     {
         return;
     }
     else
     {
         value = data.GetValue(lastEvent);
         currentIndex++;
         if (currentIndex < data.Count)
         {
             lastEvent = data.Keys[currentIndex];
         }
     }
 }
 public TimeStampInfoIterator(TimeStampInfo <T> timeStampInfo)
 {
     this.timeStampInfo = timeStampInfo;
     currentIindex      = 0;
     current            = timeStampInfo.ElementAt(0);
 }