コード例 #1
0
 public CofoundryPageHelper(
     IContentRouteLibrary contentRouteLibrary,
     IStaticFileViewHelper staticFileViewHelper,
     ISettingsViewHelper settings,
     ICurrentUserViewHelper currentUser,
     IJavascriptViewHelper js,
     IHtmlSanitizerHelper sanitizer,
     ICofoundryHtmlHelper html
     )
 {
     Routing     = contentRouteLibrary;
     StaticFiles = staticFileViewHelper;
     Settings    = settings;
     CurrentUser = currentUser;
     Js          = js;
     Sanitizer   = sanitizer;
     Html        = html;
 }
コード例 #2
0
 public CofoundryPageBlockTypeHelper(
     IContentRouteLibrary contentRouteLibrary,
     IStaticFileViewHelper staticFileViewHelper,
     ISettingsViewHelper settings,
     ICurrentUserViewHelper currentUser,
     IJavascriptViewHelper js,
     IHtmlSanitizerHelper sanitizer,
     ICofoundryHtmlHelper html
     )
     : base(
         contentRouteLibrary,
         staticFileViewHelper,
         settings,
         currentUser,
         js,
         sanitizer,
         html
         )
 {
     BlockType = new PageBlockHelper <TModel>();
 }
コード例 #3
0
        public CofoundryTemplatePageHelper(
            IContentRouteLibrary contentRouteLibrary,
            IStaticFileViewHelper staticFileViewHelper,
            ISettingsViewHelper settings,
            ICurrentUserViewHelper currentUser,
            IJavascriptViewHelper js,
            IHtmlSanitizerHelper sanitizer,
            ICofoundryHtmlHelper html,
            IPageTemplateHelper <TModel> pageTemplateHelper

            )
            : base(
                contentRouteLibrary,
                staticFileViewHelper,
                settings,
                currentUser,
                js,
                sanitizer,
                html
                )
        {
            Template = pageTemplateHelper;
        }