internal ContentBlock(CMSContent cmsContent, CMSThread cmsThread, CMSSection cmsSection) { this._CMSContent = cmsContent; if (cmsThread != null) { this.ContentPlaceholderHistory = new ContentPlaceholderHistory(cmsThread, cmsSection); } }
public ContentBlock(IUserBasic author, ContentPlaceholderHistory contentPlaceholderHistory, string formattedBody, ContentBlockStatus contentBlockStatus) { this._CMSContent = new CMSContent(author.UserId, contentPlaceholderHistory.CMSThread, (byte)contentBlockStatus, 0, string.Empty, formattedBody, true); this.ContentPlaceholderHistory = contentPlaceholderHistory; }