Пример #1
0
        public bool Equals(PostClass other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Nickname == other.Nickname &&
                   TextFromApi == other.TextFromApi && ImageUrl == other.ImageUrl &&
                   ScreenName == other.ScreenName && CreatedAt == other.CreatedAt &&
                   StatusId == other.StatusId && IsFav == other.IsFav &&
                   Text == other.Text && IsRead == other.IsRead &&
                   IsReply == other.IsReply && IsExcludeReply == other.IsExcludeReply &&
                   IsProtect == other.IsProtect && IsOwl == other.IsOwl &&
                   IsMark == other.IsMark && InReplyToUser == other.InReplyToUser &&
                   InReplyToStatusId == other.InReplyToStatusId && Source == other.Source &&
                   SourceHtml == other.SourceHtml && ReplyToList.Equals(other.ReplyToList) &&
                   IsMe == other.IsMe && IsDm == other.IsDm &&
                   UserId == other.UserId && FilterHit == other.FilterHit &&
                   RetweetedBy == other.RetweetedBy && RetweetedId == other.RetweetedId &&
                   RelTabName == other.RelTabName && IsDeleted == other.IsDeleted && InReplyToUserId == other.InReplyToUserId);
        }