Пример #1
0
 public Pool FindSameDayPool(Pool pool)
 {
     return(Pools.Find(p => p.DayOfWeek == pool.DayOfWeek && pool.IsLowPool != p.IsLowPool));
 }
Пример #2
0
 public Pool FindSameLevelPool(Pool pool)
 {
     return(Pools.Find(p => p.DayOfWeek != pool.DayOfWeek && pool.IsLowPool == p.IsLowPool));
 }
Пример #3
0
 public List <Pool> FindMondayPools()
 {
     return(Pools.FindAll(p => p.DayOfWeek == DayOfWeek.Monday));
 }