/// <summary> /// Initializes a new instance of the <see cref="PageService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="pagePropertiesService">The page properties service.</param> /// <param name="pageExistsService">The page exists service.</param> /// <param name="pageContentsService">The page contents service.</param> /// <param name="pageContentService">The page content service.</param> /// <param name="urlService">The URL service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="pageTranslationsService">The page translations service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="pageService">The page service.</param> /// <param name="sitemapService">The sitemap service.</param> /// <param name="tagService">The tag service.</param> /// <param name="accessControlService">The access control service.</param> public PageService( IRepository repository, IUnitOfWork unitOfWork, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService, IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService, IMediaFileUrlResolver fileUrlResolver, IPageTranslationsService pageTranslationsService, IMasterPageService masterPageService, Module.Pages.Services.IPageService pageService, ISitemapService sitemapService, ITagService tagService, IAccessControlService accessControlService) { this.pageContentsService = pageContentsService; this.pageContentService = pageContentService; this.pagePropertiesService = pagePropertiesService; this.pageExistsService = pageExistsService; this.repository = repository; this.urlService = urlService; this.fileUrlResolver = fileUrlResolver; this.pageTranslationsService = pageTranslationsService; }
/// <summary> /// Initializes a new instance of the <see cref="GetBlogPostCommand" /> class. /// </summary> /// <param name="categoryService">The category service.</param> /// <param name="authorService">The author service.</param> /// <param name="tagService">The tag service.</param> /// <param name="contentService">The content service.</param> public GetBlogPostCommand(ICategoryService categoryService, IAuthorService authorService, ITagService tagService, IContentService contentService, IMediaFileUrlResolver fileUrlResolver) { this.categoryService = categoryService; this.authorService = authorService; this.tagService = tagService; this.contentService = contentService; this.fileUrlResolver = fileUrlResolver; }
/// <summary> /// Initializes a new instance of the <see cref="GetPagePropertiesCommand" /> class. /// </summary> /// <param name="tagService">The tag service.</param> /// <param name="categoryService">The category service.</param> /// <param name="optionService">The option service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="layoutService">The layout service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> public GetPagePropertiesCommand(ITagService tagService, ICategoryService categoryService, IOptionService optionService, ICmsConfiguration cmsConfiguration, ILayoutService layoutService, IMediaFileUrlResolver fileUrlResolver) { this.tagService = tagService; this.categoryService = categoryService; this.optionService = optionService; this.cmsConfiguration = cmsConfiguration; this.layoutService = layoutService; this.fileUrlResolver = fileUrlResolver; }