예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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;
 }