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