public BlogController( IProjectService projectService, IBlogService blogService, IBlogRoutes blogRoutes, IContentProcessor contentProcessor, IProjectEmailService emailService, IAuthorizationService authorizationService, IAuthorNameResolver authorNameResolver, ITimeZoneHelper timeZoneHelper, IRecaptchaServerSideValidator recaptchaServerSideValidator, IStringLocalizer <SimpleContent> localizer, IOptions <SimpleContentConfig> configOptionsAccessor, ILogger <BlogController> logger ) { ProjectService = projectService; BlogService = blogService; ContentProcessor = contentProcessor; BlogRoutes = blogRoutes; AuthorNameResolver = authorNameResolver; EmailService = emailService; AuthorizationService = authorizationService; TimeZoneHelper = timeZoneHelper; StringLocalizer = localizer; Log = logger; ContentOptions = configOptionsAccessor.Value; RecaptchaServerSideValidator = recaptchaServerSideValidator; }
public BlogController( IProjectService projectService, IBlogService blogService, IBlogRoutes blogRoutes, IHtmlProcessor htmlProcessor, IProjectEmailService emailService, IAuthorizationService authorizationService, IAuthorNameResolver authorNameResolver, ITimeZoneHelper timeZoneHelper, IStringLocalizer <SimpleContent> localizer, IOptions <SimpleContentConfig> configOptionsAccessor, ILogger <BlogController> logger ) { this.projectService = projectService; this.blogService = blogService; this.htmlProcessor = htmlProcessor; this.blogRoutes = blogRoutes; this.authorNameResolver = authorNameResolver; this.emailService = emailService; this.authorizationService = authorizationService; this.timeZoneHelper = timeZoneHelper; sr = localizer; log = logger; config = configOptionsAccessor.Value; }
public PageController( IProjectService projectService, IPageService blogService, IHtmlProcessor htmlProcessor, IPageRoutes pageRoutes, IAuthorizationService authorizationService, ITimeZoneHelper timeZoneHelper, IAuthorNameResolver authorNameResolver, IStringLocalizer <SimpleContent> localizer, IOptions <PageEditOptions> pageEditOptionsAccessor, ILogger <PageController> logger) { this.projectService = projectService; this.pageService = blogService; this.htmlProcessor = htmlProcessor; this.authorizationService = authorizationService; this.authorNameResolver = authorNameResolver; this.timeZoneHelper = timeZoneHelper; this.pageRoutes = pageRoutes; editOptions = pageEditOptionsAccessor.Value; sr = localizer; log = logger; }
public PageController( IProjectService projectService, IPageService blogService, IContentProcessor contentProcessor, IPageRoutes pageRoutes, IAuthorizationService authorizationService, ITimeZoneHelper timeZoneHelper, IAuthorNameResolver authorNameResolver, IStringLocalizer <SimpleContent> localizer, IOptions <PageEditOptions> pageEditOptionsAccessor, ILogger <PageController> logger) { ProjectService = projectService; PageService = blogService; ContentProcessor = contentProcessor; AuthorizationService = authorizationService; AuthorNameResolver = authorNameResolver; TimeZoneHelper = timeZoneHelper; PageRoutes = pageRoutes; EditOptions = pageEditOptionsAccessor.Value; StringLocalizer = localizer; Log = logger; }