public BlogController(BlogSettings blogSettings,
                       CaptchaSettings captchaSettings,
                       IBlogModelFactory blogModelFactory,
                       IBlogService blogService,
                       ICustomerActivityService customerActivityService,
                       ICustomerService customerService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       IPermissionService permissionService,
                       IStoreContext storeContext,
                       IStoreMappingService storeMappingService,
                       IUrlRecordService urlRecordService,
                       IWebHelper webHelper,
                       IWorkContext workContext,
                       IWorkflowMessageService workflowMessageService,
                       LocalizationSettings localizationSettings)
 {
     _blogSettings            = blogSettings;
     _captchaSettings         = captchaSettings;
     _blogModelFactory        = blogModelFactory;
     _blogService             = blogService;
     _customerActivityService = customerActivityService;
     _customerService         = customerService;
     _eventPublisher          = eventPublisher;
     _localizationService     = localizationService;
     _permissionService       = permissionService;
     _storeContext            = storeContext;
     _storeMappingService     = storeMappingService;
     _urlRecordService        = urlRecordService;
     _webHelper              = webHelper;
     _workContext            = workContext;
     _workflowMessageService = workflowMessageService;
     _localizationSettings   = localizationSettings;
 }
示例#2
0
        public BlogController(IBlogService blogService,
                              IWorkContext workContext,
                              IStoreContext storeContext,
                              ILocalizationService localizationService,
                              IWorkflowMessageService workflowMessageService,
                              IWebHelper webHelper,
                              ICustomerActivityService customerActivityService,
                              IStoreMappingService storeMappingService,
                              IPermissionService permissionService,
                              IBlogModelFactory blogModelFactory,
                              IEventPublisher eventPublisher,
                              BlogSettings blogSettings,
                              LocalizationSettings localizationSettings,
                              CaptchaSettings captchaSettings)
        {
            this._blogService            = blogService;
            this._workContext            = workContext;
            this._storeContext           = storeContext;
            this._localizationService    = localizationService;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._customerActivityService = customerActivityService;
            this._storeMappingService     = storeMappingService;
            this._permissionService       = permissionService;
            this._blogModelFactory        = blogModelFactory;
            this._eventPublisher          = eventPublisher;

            this._blogSettings         = blogSettings;
            this._localizationSettings = localizationSettings;
            this._captchaSettings      = captchaSettings;
        }
示例#3
0
 public void SetUp()
 {
     _blogModelFactory = GetService <IBlogModelFactory>();
     _blogService      = GetService <IBlogService>();
     _customerSettings = GetService <CustomerSettings>();
     _captchaSettings  = GetService <CaptchaSettings>();
     _blogSettings     = GetService <BlogSettings>();
     _settingsService  = GetService <ISettingService>();
 }
示例#4
0
 public BlogController(IBlogModelFactory blogModelFactory,
                       IBlogService blogService,
                       ICustomerActivityService customerActivityService,
                       IUrlRecordService urlRecordService,
                       IAuthorizationService authorizationService,
                       UserManager <ApplicationUser> userManager, ICustomerService customerService)
 {
     this._blogModelFactory        = blogModelFactory;
     this._blogService             = blogService;
     this._customerActivityService = customerActivityService;
     this._urlRecordService        = urlRecordService;
     _authorizationService         = authorizationService;
     _userManager     = userManager;
     _customerService = customerService;
 }
示例#5
0
 public BlogController(IBlogModelFactory blogModelFactory,
                       IBlogService blogService,
                       ICustomerActivityService customerActivityService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       IPermissionService permissionService,
                       IStoreMappingService storeMappingService,
                       IStoreService storeService,
                       IUrlRecordService urlRecordService)
 {
     this._blogModelFactory        = blogModelFactory;
     this._blogService             = blogService;
     this._customerActivityService = customerActivityService;
     this._eventPublisher          = eventPublisher;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._storeMappingService     = storeMappingService;
     this._storeService            = storeService;
     this._urlRecordService        = urlRecordService;
 }
示例#6
0
 public BlogController(IBlogModelFactory blogModelFactory,
                       IBlogService blogService,
                       ICustomerActivityService customerActivityService,
                       IEventPublisher eventPublisher,
                       ILocalizationService localizationService,
                       INotificationService notificationService,
                       IPermissionService permissionService,
                       IStoreMappingService storeMappingService,
                       IStoreService storeService,
                       IUrlRecordService urlRecordService)
 {
     _blogModelFactory        = blogModelFactory;
     _blogService             = blogService;
     _customerActivityService = customerActivityService;
     _eventPublisher          = eventPublisher;
     _localizationService     = localizationService;
     _notificationService     = notificationService;
     _permissionService       = permissionService;
     _storeMappingService     = storeMappingService;
     _storeService            = storeService;
     _urlRecordService        = urlRecordService;
 }
示例#7
0
 public BlogTagsViewComponent(BlogSettings blogSettings, IBlogModelFactory blogModelFactory)
 {
     _blogSettings     = blogSettings;
     _blogModelFactory = blogModelFactory;
 }
示例#8
0
 public BlogMonthsViewComponent(IBlogModelFactory blogModelFactory, BlogSettings blogSettings)
 {
     this._blogModelFactory = blogModelFactory;
     this._blogSettings     = blogSettings;
 }
示例#9
0
 public BlogMonthsViewComponent(BlogSettings blogSettings, IBlogModelFactory blogModelFactory)
 {
     this._blogSettings     = blogSettings;
     this._blogModelFactory = blogModelFactory;
 }
示例#10
0
 public BlogTagsViewComponent(BlogSettings blogSettings, IBlogModelFactory blogModelFactory, ICustomerBlogFactory customerBlogFactory)
 {
     this._blogSettings   = blogSettings;
     _customerBlogFactory = customerBlogFactory;
 }
示例#11
0
 public SumiHomepageBlogsViewComponent(IBlogModelFactory blogModelFactory, BlogSettings blogSettings)
 {
     _blogModelFactory = blogModelFactory;
     _blogSettings     = blogSettings;
 }
 public HomePageBlogViewComponent(IBlogModelFactory blogModelFactory,
                                  BlogSettings blogSetting)
 {
     this._blogModelFactory = blogModelFactory;
     this._blogSettings     = blogSetting;
 }
示例#13
0
 public SumiBlogMonthsViewComponent(BlogSettings blogSettings, IBlogModelFactory blogModelFactory)
 {
     _blogSettings     = blogSettings;
     _blogModelFactory = blogModelFactory;
 }
示例#14
0
 public BlogController(IBlogService blogService, IBlogModelFactory blogModelFactory)
 {
     this._blogService = blogService;
     _blogModelFactory = blogModelFactory;
 }