示例#1
0
 public bool Equals(SeatsNotReserved other)
 {
     return(Customer == other.Customer &&
            Seats.Count == other.Seats.Count &&
            Seats.All((seat) => other.Seats.Contains(seat)) &&
            Reason == other.Reason);
 }
示例#2
0
 public bool Equals(SeatsReserved other)
 {
     return(Customer == other.Customer &&
            Screening == other.Screening &&
            Seats.Count == other.Seats.Count &&
            Seats.All((seat) => other.Seats.Contains(seat)));
 }