Exemplo n.º 1
0
 public void Add(double time, ScheduleKind scheduleKind)
 {
     _eventCalendar.Add(time, scheduleKind);
 }
Exemplo n.º 2
0
        public KeyValuePair <double, ScheduleKind> GetNext(double time, ScheduleKind scheduleKind)
        {
            var next = _eventCalendar.FirstOrDefault(ec => ec.Key > time && ec.Value == scheduleKind);

            return(next);
        }