//- $GetCommentTemplate -// private ITemplate GetCommentTemplate() { if (this.CustomCommentTemplateType == null) { return(BlogControlTemplateFactory.CreateTemplate(BlogControlTemplateFactory.TemplateType.Comment)); } //+ return((ITemplate)ObjectCreator.CreateAs <ITemplate>(this.CustomCommentTemplateType)); }
//- $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)); }