protected bool Equals(Track other) { return(TrackId == other.TrackId && string.Equals(Name, other.Name) && string.Equals(Artist, other.Artist) && string.Equals(AlbumArtist, other.AlbumArtist) && string.Equals(Composer, other.Composer) && string.Equals(Album, other.Album) && string.Equals(Genre, other.Genre) && string.Equals(Kind, other.Kind) && Size == other.Size && string.Equals(PlayingTime, other.PlayingTime) && TrackNumber == other.TrackNumber && Year == other.Year && DateModified.Equals(other.DateModified) && DateAdded.Equals(other.DateAdded) && BitRate == other.BitRate && SampleRate == other.SampleRate && PlayCount == other.PlayCount && PlayDate.Equals(other.PlayDate) && PartOfCompilation == other.PartOfCompilation); }
public bool Equals(ImageBase other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Path, other.Path) && Size == other.Size && DateModified.Equals(other.DateModified) && Height == other.Height && Width == other.Width && DateTaken.Equals(other.DateTaken) && Latitude.Equals(other.Latitude) && Longitude.Equals(other.Longitude)); }
public bool Equals(Track other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(TrackId == other.TrackId && string.Equals(Name, other.Name) && string.Equals(Artist, other.Artist) && string.Equals(AlbumArtist, other.AlbumArtist) && string.Equals(Composer, other.Composer) && string.Equals(Album, other.Album) && string.Equals(Genre, other.Genre) && string.Equals(Kind, other.Kind) && Size == other.Size && string.Equals(PlayingTime, other.PlayingTime) && TrackNumber == other.TrackNumber && Year == other.Year && DateModified.Equals(other.DateModified) && DateAdded.Equals(other.DateAdded) && BitRate == other.BitRate && SampleRate == other.SampleRate && PlayCount == other.PlayCount && PlayDate.Equals(other.PlayDate) && PartOfCompilation == other.PartOfCompilation && Location == other.Location); }
public bool Equals(FireteamSummary input) { if (input == null) { return(false); } return (( FireteamId == input.FireteamId || (FireteamId.Equals(input.FireteamId)) ) && ( GroupId == input.GroupId || (GroupId.Equals(input.GroupId)) ) && ( Platform == input.Platform || (Platform != null && Platform.Equals(input.Platform)) ) && ( ActivityType == input.ActivityType || (ActivityType.Equals(input.ActivityType)) ) && ( IsImmediate == input.IsImmediate || (IsImmediate != null && IsImmediate.Equals(input.IsImmediate)) ) && ( ScheduledTime == input.ScheduledTime || (ScheduledTime != null && ScheduledTime.Equals(input.ScheduledTime)) ) && ( OwnerMembershipId == input.OwnerMembershipId || (OwnerMembershipId.Equals(input.OwnerMembershipId)) ) && ( PlayerSlotCount == input.PlayerSlotCount || (PlayerSlotCount.Equals(input.PlayerSlotCount)) ) && ( AlternateSlotCount == input.AlternateSlotCount || (AlternateSlotCount.Equals(input.AlternateSlotCount)) ) && ( AvailablePlayerSlotCount == input.AvailablePlayerSlotCount || (AvailablePlayerSlotCount.Equals(input.AvailablePlayerSlotCount)) ) && ( AvailableAlternateSlotCount == input.AvailableAlternateSlotCount || (AvailableAlternateSlotCount.Equals(input.AvailableAlternateSlotCount)) ) && ( Title == input.Title || (Title != null && Title.Equals(input.Title)) ) && ( DateCreated == input.DateCreated || (DateCreated != null && DateCreated.Equals(input.DateCreated)) ) && ( DateModified == input.DateModified || (DateModified != null && DateModified.Equals(input.DateModified)) ) && ( IsPublic == input.IsPublic || (IsPublic != null && IsPublic.Equals(input.IsPublic)) ) && ( Locale == input.Locale || (Locale != null && Locale.Equals(input.Locale)) ) && ( IsValid == input.IsValid || (IsValid != null && IsValid.Equals(input.IsValid)) ) && ( DatePlayerModified == input.DatePlayerModified || (DatePlayerModified != null && DatePlayerModified.Equals(input.DatePlayerModified)) ) && ( TitleBeforeModeration == input.TitleBeforeModeration || (TitleBeforeModeration != null && TitleBeforeModeration.Equals(input.TitleBeforeModeration)) )); }