Example #1
0
 public WebDocument(
     BlogSetting blog,
     string id,
     string title,
     string content,
     IDocumentFactory documentFactory,
     IWebDocumentService webDocumentService,
     WebSiteContext siteContext) :
     base(title, content, blog.BlogName, documentFactory)
 {
     Id = id;
     this.blog = blog;
     this.webDocumentService = webDocumentService;
     this.siteContext = siteContext;
 }
 public WebDocument(
     BlogSetting blog,
     string id,
     string title,
     string content,
     IEnumerable<FileReference> associatedFiles,
     IDocumentFactory documentFactory,
     IWebDocumentService webDocumentService,
     WebSiteContext siteContext,
     IFileSystem fileSystem) :
     base(title, content, blog.BlogName, associatedFiles, documentFactory, siteContext, fileSystem)
 {
     Id = id;
     this.blog = blog;
     this.webDocumentService = webDocumentService;
 }