public bool Equals(YoutubeResult other) { return (Id.Equals(other.Id) && Type == other.Type && Songs.SequenceEqual(other.Songs) && SongsLoaded == other.SongsLoaded && PlaylistInfo.Equals(other.PlaylistInfo) ); }
public YoutubeResult() { Id = null; Type = YoutubeResultType.None; Songs = Enumerable.Empty <SongInfo>().ToList(); PlaylistInfo = new PlaylistInfo(); SongsLoaded = false; SongDetailsLoaded = false; _detailsLoadingTask = null; _cancellationTokenSource = new CancellationTokenSource(); }