예제 #1
0
 public DisplayBuilder FromTemplate(ListTemplateType templateType, List <IListItem> listItems)
 {
     this.template = new ListTemplate()
     {
         Type      = templateType.ToString(),
         ListItems = listItems
     };
     return(this);
 }
 public DisplayRenderTemplateDirective(IDisplayTemplate template) :
     base(DisplayDirectives.DisplayRenderTemplate)
 {
     Template = template;
 }
예제 #3
0
 public DisplayBuilder FromTemplate(BodyTemplateType templateType)
 {
     this.template = new BodyTemplate(templateType);
     return(this);
 }