示例#1
0
        internal ContentBlock(CMSContent cmsContent, CMSThread cmsThread, CMSSection cmsSection)
        {
            this._CMSContent = cmsContent;

            if (cmsThread != null)
            {
                this.ContentPlaceholderHistory = new ContentPlaceholderHistory(cmsThread, cmsSection);
            }
        }
示例#2
0
        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;
        }