예제 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="DisplayTemplateInfo"/>
 /// </summary>
 /// <param name="displayTemplateName">Name of the display template</param>
 /// <param name="displayTemplateCategory">Category of the display template</param>
 public DisplayTemplateInfo(string displayTemplateName, DisplayTemplateCategory displayTemplateCategory)
 {
     this.Name = displayTemplateName;
     this.HtmlFileName = displayTemplateName + ".html";
     this.JavaScriptFileName = displayTemplateName + ".js";
     this.Category = displayTemplateCategory;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="DisplayTemplateInfo"/>
 /// </summary>
 /// <param name="displayTemplateName">Name of the display template</param>
 /// <param name="displayTemplateCategory">Category of the display template</param>
 public DisplayTemplateInfo(string displayTemplateName, DisplayTemplateCategory displayTemplateCategory)
 {
     this.Name               = displayTemplateName;
     this.HtmlFileName       = displayTemplateName + ".html";
     this.JavaScriptFileName = displayTemplateName + ".js";
     this.Category           = displayTemplateCategory;
 }