Esempio n. 1
0
 public CofoundryMailTemplateHelper(
     IContentRouteLibrary contentRouteLibrary,
     IHtmlSanitizerHelper htmlSanitizerHelper
     )
 {
     Routing   = contentRouteLibrary;
     Sanitizer = htmlSanitizerHelper;
 }
 public CreatePostCommandHandler(IGenericRepository <Data.Post> postRepository,
                                 ILogger <CreatePostCommandHandler> logger, ICustomExceptionBuilder customExceptionBuilder,
                                 IHtmlSanitizerHelper htmlSanitizerHelper, IGenericRepository <Data.Category> categoryRepository)
 {
     _postRepository         = postRepository;
     _logger                 = logger;
     _customExceptionBuilder = customExceptionBuilder;
     _htmlSanitizerHelper    = htmlSanitizerHelper;
     _categoryRepository     = categoryRepository;
 }
Esempio n. 3
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;
 }
 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>();
 }
        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;
        }