public static RenderingEngineOptions AddFeatureHero(this RenderingEngineOptions options)
        {
            options.AddModelBoundView <HeroBig>("HeroBig")
            .AddModelBoundView <HeroMedium>("HeroMedium");

            return(options);
        }
Exemple #2
0
        public static RenderingEngineOptions AddFeatureForms(this RenderingEngineOptions options)
        {
            options.AddModelBoundView <ApplicationModel>("Application")
            .AddModelBoundView <TermsAndConditionsModel>("Terms");

            return(options);
        }
Exemple #3
0
 public static RenderingEngineOptions AddFeatureNavigation(this RenderingEngineOptions options)
 {
     options.AddModelBoundView <TopLinks>("TopLinks")
     .AddModelBoundView <MainNav>("MainNav")
     .AddModelBoundView <Footer>("Footer");
     return(options);
 }
 public static RenderingEngineOptions AddFeatureProducts(this RenderingEngineOptions options)
 {
     options
     .AddModelBoundView <ProductList>("ProductList")
     .AddModelBoundView <ProductDetailHeader>("ProductDetailHeader")
     .AddModelBoundView <ProductDetail>("ProductDetail")
     .AddModelBoundView <RelatedProductsList>("RelatedProducts");
     return(options);
 }
 public static RenderingEngineOptions AddFeatureBasicContent(this RenderingEngineOptions options)
 {
     options
     .AddModelBoundView <PromoCard>("PromoCard")
     .AddPartialView("PromoContainer")
     .AddModelBoundView <SectionHeader>("SectionHeader")
     .AddModelBoundView <HeroBanner>("HeroBanner")
     .AddPartialView("Accordion")
     .AddModelBoundView <AccordionItem>("AccordionItem");
     return(options);
 }
        public static RenderingEngineOptions AddFeatureBasicContent(this RenderingEngineOptions options)
        {
            options.AddModelBoundView <AnnouncementBar>("AnnouncementBar")
            .AddModelBoundView <HalfWidthBanner>("HalfWidthBanner")
            .AddModelBoundView <ContentList>("ContentList")
            .AddModelBoundView <RichTextContent>("RichTextContent")
            .AddModelBoundView <ImageTeaser>("ImageTeaser")
            .AddModelBoundView <VideoTeaser>("VideoTeaser")
            .AddPartialView("ColumnContainer")
            .AddPartialView("PageOverviewPanel");

            return(options);
        }
        public static RenderingEngineOptions AddFeatureBasicContent(this RenderingEngineOptions options)
        {
            options.AddModelBoundView <AnnouncementBar>("AnnouncementBar")
            .AddModelBoundView <HalfWidthBanner>("HalfWidthBanner")
            .AddModelBoundView <ContentList>("ContentList")
            .AddModelBoundView <RichTextContent>("RichTextContent")
            .AddModelBoundView <RichTextContent>("SugconRichText")
            .AddModelBoundView <ImageTeaser>("ImageTeaser")
            .AddModelBoundView <VideoTeaser>("VideoTeaser")
            .AddModelBoundView <EmbedContent>("EmbedContent")
            .AddPartialView("ColumnContainer")
            .AddPartialView("PageOverviewPanel")

            .AddModelBoundView <HeroBig>("HeroBig")
            .AddModelBoundView <HeroMedium>("HeroMedium")
            .AddModelBoundView <HeroMediumWithLink>("HeroMediumWithLink")
            .AddModelBoundView <SugconHero>("SugconHero");

            return(options);
        }
        public static RenderingEngineOptions AddFeatureSocial(this RenderingEngineOptions options)
        {
            options.AddModelBoundView <Rss>("Rss");

            return(options);
        }
 public static RenderingEngineOptions AddFeatureNavigation(this RenderingEngineOptions options)
 {
     options.AddModelBoundView<Header>("Header")
            .AddModelBoundView<Footer>("Footer");
     return options;
 }