Exemple #1
0
 public bool Equals(Track other)
 {
     if ((object)other == null)
     {
         return(false);
     }
     return(ChapterList.Equals(other.ChapterList) &&
            NowPlayingTrackInfo.Equals(other.NowPlayingTrackInfo));
 }
Exemple #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            Track track = obj as Track;

            if ((object)track == null)
            {
                return(false);
            }
            return(ChapterList.Equals(track.ChapterList) &&
                   NowPlayingTrackInfo.Equals(track.NowPlayingTrackInfo));
        }