Example #1
0
 bool IEquatable <Concert> .Equals(Concert other)
 {
     return(ConcertId.Equals(other.ConcertId));
 }
Example #2
0
 protected bool Equals(ConcertCancelledEvent other)
 {
     return(ConcertId.Equals(other.ConcertId) && string.Equals(Reason, other.Reason));
 }
Example #3
0
 protected bool Equals(TicketSaleStartedEvent other)
 {
     return(TicketSaleId.Equals(other.TicketSaleId) && ConcertId.Equals(other.ConcertId) &&
            Date.Equals(other.Date));
 }
Example #4
0
 protected bool Equals(ConcertPlannedEvent other)
 {
     return(ConcertId.Equals(other.ConcertId));
 }