Beispiel #1
0
 //- $GetCommentTemplate -//
 private ITemplate GetCommentTemplate()
 {
     if (this.CustomCommentTemplateType == null)
     {
         return(BlogControlTemplateFactory.CreateTemplate(BlogControlTemplateFactory.TemplateType.Comment));
     }
     //+
     return((ITemplate)ObjectCreator.CreateAs <ITemplate>(this.CustomCommentTemplateType));
 }
Beispiel #2
0
 //- $GetPostTemplate -//
 private ITemplate GetPostTemplate()
 {
     if (this.CustomPostTemplateType == null)
     {
         return(BlogControlTemplateFactory.CreateTemplate(BlogControlTemplateFactory.TemplateType.Post, this.PostFooterTypeInfo, this.LinkHeader, this.AccessType, this.SupportCommenting, this.DisabledCommentText, this.ShowAuthorSeries, this.ShowLabelSeries, this.HidePostDateTime));
     }
     //+
     return((ITemplate)ObjectCreator.Create(this.CustomPostTemplateType, this.PostFooterTypeInfo, this.LinkHeader, this.AccessType, this.SupportCommenting, this.DisabledCommentText, this.ShowAuthorSeries, this.ShowLabelSeries, this.HidePostDateTime));
 }