Exemple #1
0
 public bool Equals(ScoreboardData other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(CurrentTime.Equals(other.CurrentTime) && CurrentScore.SequenceEqual(other.CurrentScore) &&
            ScoresByPeriod.SequenceEqual(other.ScoresByPeriod));
 }