예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SaveBlogPostCommand" /> class.
 /// </summary>
 /// <param name="tagService">The tag service.</param>
 /// <param name="optionService">The option service.</param>
 /// <param name="contentService">The content service.</param>
 /// <param name="pageService">The page service.</param>
 /// <param name="blogService">The blog service.</param>
 /// <param name="redirectService">The redirect service.</param>
 /// <param name="urlService">The URL service.</param>
 public SaveBlogPostCommand(ITagService tagService, Services.IOptionService optionService, IContentService contentService,
                            IPageService pageService, IBlogService blogService,
                            IRedirectService redirectService, IUrlService urlService)
 {
     this.tagService      = tagService;
     this.optionService   = optionService;
     this.contentService  = contentService;
     this.pageService     = pageService;
     this.blogService     = blogService;
     this.redirectService = redirectService;
     this.urlService      = urlService;
 }
예제 #2
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;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SaveBlogPostCommand" /> class.
 /// </summary>
 /// <param name="tagService">The tag service.</param>
 /// <param name="optionService">The option service.</param>
 /// <param name="contentService">The content service.</param>
 /// <param name="pageService">The page service.</param>
 /// <param name="blogService">The blog service.</param>
 /// <param name="redirectService">The redirect service.</param>
 /// <param name="urlService">The URL service.</param>
 /// <param name="cmsConfiguration">The CMS configuration.</param>
 /// <param name="masterPageService">The master page service.</param>
 public SaveBlogPostCommand(ITagService tagService, Services.IOptionService optionService, IContentService contentService,
                            IPageService pageService, IBlogService blogService, IRedirectService redirectService,
                            IUrlService urlService, ICmsConfiguration cmsConfiguration, IMasterPageService masterPageService)
 {
     this.tagService        = tagService;
     this.optionService     = optionService;
     this.contentService    = contentService;
     this.pageService       = pageService;
     this.blogService       = blogService;
     this.redirectService   = redirectService;
     this.urlService        = urlService;
     this.masterPageService = masterPageService;
     this.cmsConfiguration  = cmsConfiguration;
 }