Ejemplo n.º 1
0
 public bool Equals(PocketItem other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Id.Equals(other.Id) &&
            ResolvedId.Equals(other.ResolvedId) &&
            Equals(GivenUrl, other.GivenUrl) &&
            Equals(GivenTitle, other.GivenTitle) &&
            IsFavorite.Equals(other.IsFavorite) &&
            Status.Equals(other.Status) &&
            TimeAdded.Equals(other.TimeAdded) &&
            TimeUpdated.Equals(other.TimeUpdated) &&
            TimeRead.Equals(other.TimeRead) &&
            TimeFavorited.Equals(other.TimeFavorited) &&
            TimeSyncDatabaseAdded.Equals(other.TimeSyncDatabaseAdded) &&
            TimeSyncDatabaseUpdated.Equals(other.TimeSyncDatabaseUpdated) &&
            Equals(ResolvedTitle, other.ResolvedTitle) &&
            Equals(ResolvedUrl, other.ResolvedUrl) &&
            Equals(Excerpt, other.Excerpt) &&
            IsArticle.Equals(other.IsArticle) &&
            IsIndex.Equals(other.IsIndex) &&
            ImageContent.Equals(other.ImageContent) &&
            VideoContent.Equals(other.VideoContent) &&
            WordCount.Equals(other.WordCount) &&
            Equals(AmpUrl, other.AmpUrl) &&
            Equals(Encoding, other.Encoding) &&
            Equals(MimeType, other.MimeType) &&
            Equals(LeadImage, other.LeadImage));
 }