/// <summary> /// Constructor /// </summary> /// <param name="overview">PostOverview object</param> /// <param name="onClick">string with the onclick method to add.</param> /// <param name="buttonName">String with the name of the name if other than Create.</param> public PostOverviewPartial(PostOverview overview, string onClick, string buttonName) : this(overview, onClick) { this.ButtonName = buttonName; }
/// <summary> /// Constructor /// </summary> /// <param name="overview">PostOverview object</param> /// <param name="onClick">string with the onclick method to add.</param> public PostOverviewPartial(PostOverview overview, string onClick) { this.PostOverview = overview; this.OnClick = onClick; this.ButtonName = null; }