示例#1
0
        public PageBuilderInitializerDecorator(
            IPageBuilderInitializer initializer,
            IDocumentContext documentContext)
        {
            Guard.Against.Null(initializer, nameof(initializer));
            Guard.Against.Null(documentContext, nameof(documentContext));

            this.initializer     = initializer;
            this.documentContext = documentContext;
        }
示例#2
0
 public HomeController(
     IHomePageQuery homePageQuery,
     IPageBuilderInitializer pageBuilderInitializer,
     IOutputCacheDependencies outputCacheDependencies,
     ISiteMetaService <SiteMeta> siteMetaService)
 {
     this.homePageQuery           = homePageQuery;
     this.pageBuilderInitializer  = pageBuilderInitializer;
     this.outputCacheDependencies = outputCacheDependencies;
     this.siteMetaService         = siteMetaService;
 }