示例#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));
 }