public override bool Equals(PlayableBase other) { if (other == null) { return(false); } if (GetType() != other.GetType()) { return(false); } return((SongResult.Type == ((AnyListenTrack)other).SongResult.Type) && (SongResult.SongId == ((AnyListenTrack)other).SongResult.SongId)); }
public override bool Equals(PlayableBase other) { if (other == null) { return(false); } if (!other.TrackExists || !TrackExists) { return(false); } if (GetType() != other.GetType()) { return(false); } var otherAsLocalTrack = (LocalTrack)other; if (UniqueId == otherAsLocalTrack.UniqueId) { return(true); } return(false); }
public override bool Equals(PlayableBase other) { return(other == this); }