Beispiel #1
0
        public bool Equals(BaseMatch other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(GameBaseVariantId.Equals(other.GameBaseVariantId) &&
                   GameVariantId.Equals(other.GameVariantId) &&
                   IsMatchOver == other.IsMatchOver &&
                   IsTeamGame == other.IsTeamGame &&
                   MapId.Equals(other.MapId) &&
                   MapVariantId.Equals(other.MapVariantId) &&
                   PlaylistId.Equals(other.PlaylistId) &&
                   SeasonId.Equals(other.SeasonId) &&
                   TotalDuration.Equals(other.TotalDuration));
        }