コード例 #1
0
ファイル: PlaylistItem.cs プロジェクト: asuyasa/osu
 public bool Equals(PlaylistItem other)
 => ID == other?.ID &&
 BeatmapID == other.BeatmapID &&
 RulesetID == other.RulesetID &&
 Expired == other.Expired &&
 AllowedMods.SequenceEqual(other.AllowedMods) &&
 RequiredMods.SequenceEqual(other.RequiredMods);
コード例 #2
0
 public bool Equals(MultiplayerRoomSettings other)
 => BeatmapID == other.BeatmapID &&
 BeatmapChecksum == other.BeatmapChecksum &&
 RequiredMods.SequenceEqual(other.RequiredMods) &&
 AllowedMods.SequenceEqual(other.AllowedMods) &&
 RulesetID == other.RulesetID &&
 Name.Equals(other.Name, StringComparison.Ordinal) &&
 PlaylistItemId == other.PlaylistItemId;