Exemplo n.º 1
0
 public BlogPostService(IBlogPostPropertiesService propertiesService, IBlogPostContentService contentService, IRepository repository, IMediaFileUrlResolver fileUrlResolver)
 {
     this.propertiesService = propertiesService;
     this.contentService = contentService;
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 2
0
 public PagePropertiesService(IRepository repository, IUrlService urlService, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository = repository;
     this.urlService = urlService;
     this.optionService = optionService;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 3
0
 public FilesService(IRepository repository, IMediaFileService fileService,
     IMediaFileUrlResolver fileUrlResolver, IAccessControlService accessControlService)
 {
     this.repository = repository;
     this.fileService = fileService;
     this.fileUrlResolver = fileUrlResolver;
     this.accessControlService = accessControlService;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImagesService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="imageService">The image service.</param>
 public ImagesService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IImageService imageService, IUploadImageService uploadImageService, ICategoryService categoryService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.imageService = imageService;
     this.categoryService = categoryService;
     Upload = uploadImageService;
 }
Exemplo n.º 5
0
 public UserService(IRepository repository, IValidateUserService validateUserService,
     IMediaFileUrlResolver fileUrlResolver, Services.IUserService userService)
 {
     this.repository = repository;
     this.validateUserService = validateUserService;
     this.fileUrlResolver = fileUrlResolver;
     this.userService = userService;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="mediaService">The media service.</param>
 public ImageService(IRepository repository, IUnitOfWork unitOfWork, IMediaFileUrlResolver fileUrlResolver, ITagService tagService, IMediaService mediaService)
 {
     this.repository = repository;
     this.unitOfWork = unitOfWork;
     this.fileUrlResolver = fileUrlResolver;
     this.tagService = tagService;
     this.mediaService = mediaService;
 }
Exemplo n.º 7
0
 public PagesService(IRepository repository, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver,
     ISearchPagesService searchPagesService, IAccessControlService accessControlService)
 {
     this.repository = repository;
     this.optionService = optionService;
     this.fileUrlResolver = fileUrlResolver;
     this.searchPagesService = searchPagesService;
     this.accessControlService = accessControlService;
 }
Exemplo n.º 8
0
 public BlogPostPropertiesService(IRepository repository, IMediaFileUrlResolver fileUrlResolver,
     IBlogSaveService blogSaveService, ISecurityService securityService, IPageService pageService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.blogSaveService = blogSaveService;
     this.securityService = securityService;
     this.pageService = pageService;
 }
 public BlogPostPropertiesService(IRepository repository, IMediaFileUrlResolver fileUrlResolver,
                                  IBlogSaveService blogSaveService, ISecurityService securityService, IPageService pageService,
                                  Module.Root.Services.IOptionService optionService)
 {
     this.repository      = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.blogSaveService = blogSaveService;
     this.securityService = securityService;
     this.pageService     = pageService;
     this.optionService   = optionService;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlogPostsService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="accessControlService">The access control service.</param>
 public BlogPostsService(
     IRepository repository,
     IMediaFileUrlResolver fileUrlResolver,
     IAccessControlService accessControlService,
     ICategoryService categoryService)
 {
     this.repository           = repository;
     this.fileUrlResolver      = fileUrlResolver;
     this.accessControlService = accessControlService;
     this.categoryService      = categoryService;
 }
Exemplo n.º 11
0
 public PageService(IRepository repository, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService,
                    IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.pageContentsService   = pageContentsService;
     this.pageContentService    = pageContentService;
     this.pagePropertiesService = pagePropertiesService;
     this.pageExistsService     = pageExistsService;
     this.repository            = repository;
     this.urlService            = urlService;
     this.fileUrlResolver       = fileUrlResolver;
 }
Exemplo n.º 12
0
 public PageService(IRepository repository, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService, 
     IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.pageContentsService = pageContentsService;
     this.pageContentService = pageContentService;
     this.pagePropertiesService = pagePropertiesService;
     this.pageExistsService = pageExistsService;
     this.repository = repository;
     this.urlService = urlService;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlogPostsService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="accessControlService">The access control service.</param>
 public BlogPostsService(
     IRepository repository,
     IMediaFileUrlResolver fileUrlResolver,
     IAccessControlService accessControlService,
     ICategoryService categoryService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.accessControlService = accessControlService;
     this.categoryService = categoryService;
 }
Exemplo n.º 14
0
 /// <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>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="cmsConfiguration">The CMS configuration.</param>
 /// <param name="blogOptionService">The blog option service.</param>
 public GetBlogPostCommand(ICategoryService categoryService, IAuthorService authorService,
                           ITagService tagService, IContentService contentService, IMediaFileUrlResolver fileUrlResolver,
                           ICmsConfiguration cmsConfiguration, Services.IOptionService blogOptionService)
 {
     this.categoryService   = categoryService;
     this.authorService     = authorService;
     this.tagService        = tagService;
     this.contentService    = contentService;
     this.fileUrlResolver   = fileUrlResolver;
     this.cmsConfiguration  = cmsConfiguration;
     this.blogOptionService = blogOptionService;
 }
Exemplo n.º 15
0
 public BlogPostPropertiesService(IRepository repository, IMediaFileUrlResolver fileUrlResolver,
     IBlogSaveService blogSaveService, ISecurityService securityService, IPageService pageService,
     Module.Root.Services.IOptionService optionService, BetterCms.Module.Root.Services.ICategoryService categoriesService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.blogSaveService = blogSaveService;
     this.securityService = securityService;
     this.pageService = pageService;
     this.optionService = optionService;
     this.categoriesService = categoriesService;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultMediaFileService" /> class.
 /// </summary>
 /// <param name="storageService">The storage service.</param>
 /// <param name="repository">The repository.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="configuration">The configuration.</param>
 /// <param name="httpContextAccessor">The HTTP context accessor.</param>
 /// <param name="sessionFactoryProvider">The session factory provider.</param>
 /// <param name="mediaFileUrlResolver">The media file URL resolver.</param>
 public DefaultMediaFileService(IStorageService storageService, IRepository repository, IUnitOfWork unitOfWork,
                                ICmsConfiguration configuration, IHttpContextAccessor httpContextAccessor, ISessionFactoryProvider sessionFactoryProvider,
                                IMediaFileUrlResolver mediaFileUrlResolver)
 {
     this.sessionFactoryProvider = sessionFactoryProvider;
     this.httpContextAccessor    = httpContextAccessor;
     this.configuration          = configuration;
     this.unitOfWork             = unitOfWork;
     this.storageService         = storageService;
     this.repository             = repository;
     this.mediaFileUrlResolver   = mediaFileUrlResolver;
 }
Exemplo n.º 17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilesService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="accessControlService">The access control service.</param>
 /// <param name="fileService">The file service.</param>
 public FilesService(
     IRepository repository,
     IMediaFileService mediaFileService,
     IMediaFileUrlResolver fileUrlResolver,
     IAccessControlService accessControlService,
     IFileService fileService)
 {
     this.repository           = repository;
     this.mediaFileService     = mediaFileService;
     this.fileUrlResolver      = fileUrlResolver;
     this.accessControlService = accessControlService;
     this.fileService          = fileService;
 }
 /// <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>
 /// <param name="languageService">The language service.</param>
 /// <param name="pageService">The page service.</param>
 public GetPagePropertiesCommand(ITagService tagService, ICategoryService categoryService, IOptionService optionService,
                                 ICmsConfiguration cmsConfiguration, ILayoutService layoutService, IMediaFileUrlResolver fileUrlResolver,
                                 ILanguageService languageService, IPageService pageService)
 {
     this.tagService       = tagService;
     this.categoryService  = categoryService;
     this.languageService  = languageService;
     this.optionService    = optionService;
     this.cmsConfiguration = cmsConfiguration;
     this.layoutService    = layoutService;
     this.fileUrlResolver  = fileUrlResolver;
     this.pageService      = pageService;
 }
Exemplo n.º 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PagesService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="optionService">The option service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="searchPagesService">The search pages service.</param>
 /// <param name="accessControlService">The access control service.</param>
 /// <param name="pageService">The page service.</param>
 public PagesService(
     IRepository repository,
     IOptionService optionService,
     IMediaFileUrlResolver fileUrlResolver,
     ISearchPagesService searchPagesService,
     IAccessControlService accessControlService,
     IPageService pageService)
 {
     this.repository           = repository;
     this.optionService        = optionService;
     this.fileUrlResolver      = fileUrlResolver;
     this.searchPagesService   = searchPagesService;
     this.accessControlService = accessControlService;
     this.pageService          = pageService;
 }
Exemplo n.º 20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="mediaService">The media service.</param>
 /// <param name="accessControlService">The access control service.</param>
 public FileService(
     IRepository repository,
     IMediaFileService fileService,
     IMediaFileUrlResolver fileUrlResolver,
     IUnitOfWork unitOfWork,
     ITagService tagService,
     IMediaService mediaService,
     IAccessControlService accessControlService)
 {
     this.repository = repository;
     this.fileService = fileService;
     this.fileUrlResolver = fileUrlResolver;
     this.unitOfWork = unitOfWork;
     this.tagService = tagService;
     this.mediaService = mediaService;
     this.accessControlService = accessControlService;
 }
Exemplo n.º 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="mediaService">The media service.</param>
 /// <param name="accessControlService">The access control service.</param>
 public FileService(
     IRepository repository,
     IMediaFileService fileService,
     IMediaFileUrlResolver fileUrlResolver,
     IUnitOfWork unitOfWork,
     ITagService tagService,
     IMediaService mediaService,
     IAccessControlService accessControlService)
 {
     this.repository           = repository;
     this.fileService          = fileService;
     this.fileUrlResolver      = fileUrlResolver;
     this.unitOfWork           = unitOfWork;
     this.tagService           = tagService;
     this.mediaService         = mediaService;
     this.accessControlService = accessControlService;
 }
Exemplo n.º 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilesService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="accessControlService">The access control service.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="uploadFileService">The upload file service.</param>
 public FilesService(
     IRepository repository,
     IMediaFileService mediaFileService,
     IMediaFileUrlResolver fileUrlResolver,
     IAccessControlService accessControlService,
     IFileService fileService,
     IUploadFileService uploadFileService,
     ICategoryService categoryService)
 {
     this.repository = repository;
     this.mediaFileService = mediaFileService;
     this.fileUrlResolver = fileUrlResolver;
     this.accessControlService = accessControlService;
     this.fileService = fileService;
     this.categoryService = categoryService;
     Upload = uploadFileService;
 }
Exemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FilesService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="mediaFileService">The media file service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="accessControlService">The access control service.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="uploadFileService">The upload file service.</param>
 public FilesService(
     IRepository repository,
     IMediaFileService mediaFileService,
     IMediaFileUrlResolver fileUrlResolver,
     IAccessControlService accessControlService,
     IFileService fileService,
     IUploadFileService uploadFileService,
     ICategoryService categoryService)
 {
     this.repository           = repository;
     this.mediaFileService     = mediaFileService;
     this.fileUrlResolver      = fileUrlResolver;
     this.accessControlService = accessControlService;
     this.fileService          = fileService;
     this.categoryService      = categoryService;
     Upload = uploadFileService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PagePropertiesService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="urlService">The URL service.</param>
 /// <param name="optionService">The option service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="masterPageService">The master page service.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="accessControlService">The access control service.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="pageService">The page service.</param>
 /// <param name="securityService">The security service.</param>
 public PagePropertiesService(
     IRepository repository,
     IUrlService urlService,
     IOptionService optionService,
     IMediaFileUrlResolver fileUrlResolver,
     IMasterPageService masterPageService,
     Module.Pages.Services.ITagService tagService,
     IAccessControlService accessControlService,
     IUnitOfWork unitOfWork,
     Module.Pages.Services.IPageService pageService,
     ISecurityService securityService)
 {
     this.repository           = repository;
     this.urlService           = urlService;
     this.optionService        = optionService;
     this.fileUrlResolver      = fileUrlResolver;
     this.masterPageService    = masterPageService;
     this.tagService           = tagService;
     this.accessControlService = accessControlService;
     this.unitOfWork           = unitOfWork;
     this.securityService      = securityService;
     this.pageService          = pageService;
 }
Exemplo n.º 25
0
 public GetNewsListByCategoryIdCommand(IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 26
0
 /// <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;
 }
Exemplo n.º 27
0
 public FileService(IRepository repository, IMediaFileService fileService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository = repository;
     this.fileService = fileService;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetUserCommand"/> class.
 /// </summary>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 public GetUserCommand(IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorsService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="authorService">The author service.</param>
 public AuthorsService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IAuthorService authorService)
 {
     this.repository      = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.authorService   = authorService;
 }
Exemplo n.º 30
0
 public PagePropertiesService(IRepository repository, IUrlService urlService, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository      = repository;
     this.urlService      = urlService;
     this.optionService   = optionService;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 31
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DownloadFileCommand" /> class.
 /// </summary>
 /// <param name="storageService">The storage service.</param>
 /// <param name="cmsConfiguration">The CMS configuration.</param>
 public DownloadFileCommand(IStorageService storageService, ICmsConfiguration cmsConfiguration, IMediaFileUrlResolver fileUrlResolver)
 {
     this.storageService   = storageService;
     this.cmsConfiguration = cmsConfiguration;
     this.fileUrlResolver  = fileUrlResolver;
 }
Exemplo n.º 32
0
 public GetNewsListCommand(IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 33
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetGalleryAlbumsCommand" /> class.
 /// </summary>
 /// <param name="contextAccessor">The context accessor.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 public GetGalleryAlbumsCommand(IHttpContextAccessor contextAccessor, IMediaFileUrlResolver fileUrlResolver)
 {
     this.contextAccessor = contextAccessor;
     this.fileUrlResolver = fileUrlResolver;
 }
 public GetAuthorListCommand(IAuthorService authorService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.authorService   = authorService;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 35
0
 public BlogPostService(IBlogPostPropertiesService propertiesService, IBlogPostContentService contentService, IRepository repository, IMediaFileUrlResolver fileUrlResolver)
 {
     this.propertiesService = propertiesService;
     this.contentService    = contentService;
     this.repository        = repository;
     this.fileUrlResolver   = fileUrlResolver;
 }
Exemplo n.º 36
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAlbumCommand" /> class.
 /// </summary>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 public GetAlbumCommand(IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 37
0
 public BlogPostPropertiesService(IRepository repository, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 38
0
 public GetProductListByQueryCommand(IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 39
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 public AuthorService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IUnitOfWork unitOfWork)
 {
     this.repository      = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.unitOfWork      = unitOfWork;
 }
Exemplo n.º 40
0
 public GetProductsCommand(IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 41
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PagePropertiesService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="urlService">The URL service.</param>
 /// <param name="optionService">The option service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="masterPageService">The master page service.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="accessControlService">The access control service.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="pageService">The page service.</param>
 /// <param name="securityService">The security service.</param>
 public PagePropertiesService(
     IRepository repository,
     IUrlService urlService,
     IOptionService optionService,
     IMediaFileUrlResolver fileUrlResolver,
     IMasterPageService masterPageService,
     Module.Pages.Services.ITagService tagService,
     IAccessControlService accessControlService,
     IUnitOfWork unitOfWork,
     Module.Pages.Services.IPageService pageService,
     ISecurityService securityService,
     ICategoryService categoryService)
 {
     this.repository = repository;
     this.urlService = urlService;
     this.optionService = optionService;
     this.fileUrlResolver = fileUrlResolver;
     this.masterPageService = masterPageService;
     this.tagService = tagService;
     this.accessControlService = accessControlService;
     this.unitOfWork = unitOfWork;
     this.securityService = securityService;
     this.pageService = pageService;
     this.categoryService = categoryService;
 }
Exemplo n.º 42
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetUserProfileCommand" /> class.
 /// </summary>
 /// <param name="authenticationService">The authentication service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 public GetUserProfileCommand(IAuthenticationService authenticationService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.authenticationService = authenticationService;
     this.fileUrlResolver       = fileUrlResolver;
 }
Exemplo n.º 43
0
 public UsersService(IRepository repository, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository      = repository;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 44
0
 public FileService(IRepository repository, IMediaFileService fileService, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository      = repository;
     this.fileService     = fileService;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 45
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorsService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="authorService">The author service.</param>
 public AuthorsService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IAuthorService authorService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.authorService = authorService;
 }
Exemplo n.º 46
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetMediaVersionCommand" /> class.
 /// </summary>
 /// <param name="fileService">The file service.</param>
 /// <param name="cmsConfiguration">The CMS configuration.</param>
 public GetMediaVersionCommand(IMediaFileService fileService, ICmsConfiguration cmsConfiguration, IMediaFileUrlResolver fileUrlResolver)
 {
     this.fileService      = fileService;
     this.cmsConfiguration = cmsConfiguration;
     this.fileUrlResolver  = fileUrlResolver;
 }
Exemplo n.º 47
0
 public AuthorsService(IRepository repository, IMediaFileUrlResolver fileUrlResolver)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
 }
Exemplo n.º 48
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetFileCommand" /> class.
 /// </summary>
 /// <param name="tagService">The tag service.</param>
 /// <param name="configuration">The CMS configuration.</param>
 /// <param name="storageService">The storage service.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 public GetFileCommand(ITagService tagService, ICmsConfiguration configuration, IStorageService storageService, IMediaFileService fileService, IMediaFileUrlResolver fileUrlResolver, ICategoryService categoryService)
 {
     this.tagService      = tagService;
     this.configuration   = configuration;
     this.storageService  = storageService;
     this.fileService     = fileService;
     this.fileUrlResolver = fileUrlResolver;
     this.categoryService = categoryService;
 }
Exemplo n.º 49
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImagesService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="imageService">The image service.</param>
 public ImagesService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IImageService imageService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.imageService = imageService;
 }
Exemplo n.º 50
0
 public UsersService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IUserService userService)
 {
     this.repository      = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.userService     = userService;
 }
Exemplo n.º 51
0
 public UsersService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IUserService userService)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.userService = userService;
 }
Exemplo n.º 52
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="fileUrlResolver">The file URL resolver.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 public AuthorService(IRepository repository, IMediaFileUrlResolver fileUrlResolver, IUnitOfWork unitOfWork)
 {
     this.repository = repository;
     this.fileUrlResolver = fileUrlResolver;
     this.unitOfWork = unitOfWork;
 }