public BlogService( IProjectService projectService, IProjectSecurityResolver security, IPostQueries postQueries, IPostCommands postCommands, IMediaProcessor mediaProcessor, IHtmlProcessor htmlProcessor, IBlogRoutes blogRoutes, PostEvents eventHandlers, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccesor, IHttpContextAccessor contextAccessor = null) { this.security = security; this.postQueries = postQueries; this.postCommands = postCommands; context = contextAccessor?.HttpContext; this.mediaProcessor = mediaProcessor; this.urlHelperFactory = urlHelperFactory; this.actionContextAccesor = actionContextAccesor; this.projectService = projectService; this.htmlProcessor = htmlProcessor; this.blogRoutes = blogRoutes; this.eventHandlers = eventHandlers; }
public BlogService( IProjectService projectService, IProjectSecurityResolver security, IPostQueries postQueries, IPostCommands postCommands, IMediaProcessor mediaProcessor, IContentProcessor contentProcessor, //IHtmlProcessor htmlProcessor, IBlogRoutes blogRoutes, PostEvents eventHandlers, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccesor, IHttpContextAccessor contextAccessor = null) { _security = security; _postQueries = postQueries; _postCommands = postCommands; context = contextAccessor?.HttpContext; _mediaProcessor = mediaProcessor; _urlHelperFactory = urlHelperFactory; _actionContextAccesor = actionContextAccesor; _projectService = projectService; _contentProcessor = contentProcessor; _blogRoutes = blogRoutes; _eventHandlers = eventHandlers; }
public BlogService( IProjectService projectService, IPostQueries postQueries, IPostCommands postCommands, IContentProcessor contentProcessor, IBlogUrlResolver blogUrlResolver, PostEvents eventHandlers, IContentHistoryCommands historyCommands, ILogger <BlogService> logger ) { _postQueries = postQueries; _postCommands = postCommands; _projectService = projectService; _contentProcessor = contentProcessor; _blogUrlResolver = blogUrlResolver; _eventHandlers = eventHandlers; _historyCommands = historyCommands; _log = logger; }