예제 #1
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;
 }
예제 #2
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;
 }
예제 #3
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;
 }
예제 #4
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;
 }
예제 #5
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;
 }