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