public bool Equals(Match other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(GameMode == other.GameMode && IsMatchComplete == other.IsMatchComplete && string.Equals(MapId, other.MapId) && MatchDuration.Equals(other.MatchDuration) && MatchEndReason == other.MatchEndReason && MatchId.Equals(other.MatchId) && Equals(MatchStartDate, other.MatchStartDate) && MatchType == other.MatchType && Players.OrderBy(p => p.Key).SequenceEqual(other.Players.OrderBy(p => p.Key)) && PlaylistId.Equals(other.PlaylistId) && SeasonId.Equals(other.SeasonId) && Teams.OrderBy(t => t.Key).SequenceEqual(other.Teams.OrderBy(t => t.Key)) && VictoryCondition == other.VictoryCondition); }
public bool Equals(Stats other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(HighestCsr, other.HighestCsr) && HighestWaveCompleted == other.HighestWaveCompleted && LeaderStats.OrderBy(ls => ls.Key).SequenceEqual(other.LeaderStats.OrderBy(ls => ls.Key)) && PlaylistClassification == other.PlaylistClassification && PlaylistId.Equals(other.PlaylistId) && TotalCardPlays == other.TotalCardPlays && TotalMatchesCompleted == other.TotalMatchesCompleted && TotalMatchesLost == other.TotalMatchesLost && TotalMatchesStarted == other.TotalMatchesStarted && TotalMatchesWon == other.TotalMatchesWon && TotalPointCaptures == other.TotalPointCaptures && TotalTimePlayed.Equals(other.TotalTimePlayed) && TotalUnitsBuilt == other.TotalUnitsBuilt && TotalUnitsDestroyed == other.TotalUnitsDestroyed && TotalUnitsLost == other.TotalUnitsLost); }
public bool Equals(PlayerMatch other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(ExperienceProgress, other.ExperienceProgress) && GameMode == other.GameMode && LeaderId == other.LeaderId && string.Equals(MapId, other.MapId) && MatchId.Equals(other.MatchId) && Equals(MatchStartDate, other.MatchStartDate) && MatchType == other.MatchType && PlayerCompletedMatch == other.PlayerCompletedMatch && PlayerIndex == other.PlayerIndex && PlayerMatchDuration.Equals(other.PlayerMatchDuration) && PlayerMatchOutcome == other.PlayerMatchOutcome && PlaylistId.Equals(other.PlaylistId) && Equals(RatingProgress, other.RatingProgress) && SeasonId.Equals(other.SeasonId) && TeamId == other.TeamId && TeamPlayerIndex == other.TeamPlayerIndex && Teams.OrderBy(t => t.Key).SequenceEqual(other.Teams.OrderBy(t => t.Key))); }
public override bool Equals(object obj) { var other = obj as Playlist; if (other == null) { return(false); } return(PlaylistId.Equals(other.PlaylistId)); }
public bool Equals(Playlist other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(PlaylistId.Equals(other.PlaylistId) && string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase) && Equals(Songs, other.Songs)); }
public bool Equals(SongAdded other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(UserId.Equals(other.UserId) && PlaylistId.Equals(other.PlaylistId) && SongId.Equals(other.SongId) && string.Equals(Title, other.Title, StringComparison.InvariantCultureIgnoreCase) && string.Equals(Artist, other.Artist, StringComparison.InvariantCultureIgnoreCase)); }
public bool Equals(MatchStart other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && GameMode == other.GameMode && IsDefaultRuleSet == other.IsDefaultRuleSet && string.Equals(MapId, other.MapId) && MatchId.Equals(other.MatchId) && MatchType == other.MatchType && PlaylistId.Equals(other.PlaylistId) && TeamSize == other.TeamSize); }
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)); }
public bool Equals(PlaylistDeleted other) { return(UserId.Equals(other.UserId) && PlaylistId.Equals(other.PlaylistId) && string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase)); }
bool IEquatable <Playlist> .Equals(Playlist other) { return(PlaylistId.Equals(other.PlaylistId)); }