Пример #1
0
 internal bool HasState(TRB_PART part, TRB_STATE state)
 {
     return(TimeBoxCollection.FirstOrDefault(trb => trb.HasState(part, state)) != null);
 }
Пример #2
0
 internal TimeBox TimeBoxGet(Guid uid)
 {
     return(TimeBoxCollection.FirstOrDefault(trb => trb.UID == uid));
 }
Пример #3
0
 internal bool TimeBoxContains(DateTime dt)
 {
     return(TimeBoxCollection.FirstOrDefault(trb => trb.Contains(dt)) != null);
 }