public DefaultContentService(ISecurityService securityService, IRepository repository, IOptionService optionService, IChildContentService childContentService)
 {
     this.securityService     = securityService;
     this.repository          = repository;
     this.optionService       = optionService;
     this.childContentService = childContentService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultPreviewService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="securityService">The security service.</param>
 /// <param name="contentProjectionService">The content projection service.</param>
 /// <param name="childContentService">The child content service.</param>
 public DefaultPreviewService(IRepository repository, ISecurityService securityService, 
     IContentProjectionService contentProjectionService, IChildContentService childContentService)
 {
     this.repository = repository;
     this.securityService = securityService;
     this.childContentService = childContentService;
     this.contentProjectionService = contentProjectionService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultPreviewService" /> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="securityService">The security service.</param>
 /// <param name="contentProjectionService">The content projection service.</param>
 /// <param name="childContentService">The child content service.</param>
 public DefaultPreviewService(IRepository repository, ISecurityService securityService,
                              IContentProjectionService contentProjectionService, IChildContentService childContentService)
 {
     this.repository               = repository;
     this.securityService          = securityService;
     this.childContentService      = childContentService;
     this.contentProjectionService = contentProjectionService;
 }
Beispiel #4
0
 public DefaultWidgetService(IRepository repository, IUnitOfWork unitOfWork, IOptionService optionService, IContentService contentService,
                             IChildContentService childContentService)
 {
     this.repository          = repository;
     this.unitOfWork          = unitOfWork;
     this.optionService       = optionService;
     this.contentService      = contentService;
     this.childContentService = childContentService;
 }
Beispiel #5
0
 public DefaultWidgetService(IRepository repository, IUnitOfWork unitOfWork, IOptionService optionService, IContentService contentService,
                             IChildContentService childContentService, ICategoryService categoryService, ICmsConfiguration cmsConfiguration)
 {
     this.repository          = repository;
     this.unitOfWork          = unitOfWork;
     this.optionService       = optionService;
     this.contentService      = contentService;
     this.childContentService = childContentService;
     this.categoryService     = categoryService;
     this.cmsConfiguration    = cmsConfiguration;
 }
Beispiel #6
0
 public GetPageToRenderCommand(IPageAccessor pageAccessor, PageStylesheetProjectionFactory pageStylesheetProjectionFactory,
                               PageJavaScriptProjectionFactory pageJavaScriptProjectionFactory,
                               ICmsConfiguration cmsConfiguration, RootModuleDescriptor rootModuleDescriptor, IOptionService optionService,
                               IContentProjectionService contentProjectionService, IChildContentService childContentService)
 {
     this.rootModuleDescriptor            = rootModuleDescriptor;
     this.pageStylesheetProjectionFactory = pageStylesheetProjectionFactory;
     this.pageJavaScriptProjectionFactory = pageJavaScriptProjectionFactory;
     this.pageAccessor             = pageAccessor;
     this.cmsConfiguration         = cmsConfiguration;
     this.optionService            = optionService;
     this.contentProjectionService = contentProjectionService;
     this.childContentService      = childContentService;
 }