protected override NameValueCollection DataAsNameValueCollection() { NameValueCollection nvc = base.DataAsNameValueCollection(); nvc["numberOfPosts"] = NumberOfPosts.ToString(); nvc["showExcerpt"] = ShowExcerpt.ToString(); nvc["categoryid"] = CategoryId.ToString(); return(nvc); }
public override int GetHashCode() { return(NumberOfPosts.GetHashCode()); }