Пример #1
0
 public bool Equals(EventData other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(string.Equals(EventKey, other.EventKey) && StartDate.Equals(other.StartDate) &&
            string.Equals(Name, other.Name) && string.Equals(TournamentKey, other.TournamentKey) &&
            TeamsKeys.SequenceEqual(other.TeamsKeys) && Scoreboard.Equals(other.Scoreboard) &&
            DictionaryComparer <string, MarketData> .Default.Equals(Markets, other.Markets));
 }