public PageBuilderInitializerDecorator( IPageBuilderInitializer initializer, IDocumentContext documentContext) { Guard.Against.Null(initializer, nameof(initializer)); Guard.Against.Null(documentContext, nameof(documentContext)); this.initializer = initializer; this.documentContext = documentContext; }
public HomeController( IHomePageQuery homePageQuery, IPageBuilderInitializer pageBuilderInitializer, IOutputCacheDependencies outputCacheDependencies, ISiteMetaService <SiteMeta> siteMetaService) { this.homePageQuery = homePageQuery; this.pageBuilderInitializer = pageBuilderInitializer; this.outputCacheDependencies = outputCacheDependencies; this.siteMetaService = siteMetaService; }