Esempio n. 1
0
        public NewsController(INewsService newsService, 
            IWorkContext workContext, IStoreContext storeContext, 
            IPictureService pictureService, ILocalizationService localizationService,
            IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
            IStoreMappingService storeMappingService,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            CaptchaSettings captchaSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;
            this._storeMappingService = storeMappingService;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
        }
Esempio n. 2
0
 public NewsController(INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
 {
     this._newsService = newsService;
     this._newsMappingService = newsMappingService;
     this._userFactory = userFactory;
     this._userId = _userFactory.GetUserId(User.Identity.Name);
 }
Esempio n. 3
0
        public SettingsViewModel(IShell shell, ISettingsService settingsService, ICacheService cacheService, IBoard board, INewsService newsService) {
            Shell = shell;
            Board = board;
            SettingsService = settingsService;
            CacheService = cacheService;
            AvailableLanguages = new ObservableCollection<CultureInfo>(
                new[] { "en-US", "ru" }.Select(l => new CultureInfo(l)));
            CurrentLanguage = CultureInfo.CurrentUICulture;
            currentLanguageIndex = AvailableLanguages.IndexOf(CurrentLanguage);
            Application.Current.Suspending += ApplyLanguage;

            FontScale = SettingsService.FontScale;

            AvailableThemes = new ObservableCollection<Theme>(Utils.GetEnumValues<Theme>());
            CurrentThemeIndex = AvailableThemes.IndexOf(SettingsService.CurrentTheme);

            AvailableRepliesDisplayModes =
                new ObservableCollection<RepliesDisplayMode>(Utils.GetEnumValues<RepliesDisplayMode>());

            Version = CreateVersion();
            IsRedstoneBuild = Utils.IsRedstone();

            SetupMediaDownloadFolder();

            AvailableDomains = new ObservableCollection<string>(board.UrlService.AvailableDomains);
            CurrentDomainIndex = SettingsService.CurrentDomain == "" ? 0 : AvailableDomains.IndexOf(SettingsService.CurrentDomain);

            NewsService = newsService;
        }
Esempio n. 4
0
        public NewsController(IRssParserService rssParserService, INewsService newsService, IConfigurationService configurationService)
			: base(configurationService)
        {
            _rssParserService = rssParserService;
            _newsService = newsService;
            _useRssDataSource = configurationService.GetSetting(string.Empty, "NewsDataSource", "Dictionaries", "AppSettings", "General", "News").ToLower() == "rss";
        }
 public RobotsTxtManager(
     ISettingService settingService,
     ILocalizationService localizationService,
     LocalizationSettings localizationSettings,
     IStoreContext storeContext,
     ILanguageService languageService,
     IBlogService blogService,
     INewsService newsService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ITopicService topicService,
     IVendorService vendorService,
     IProductService productService)
 {
     _settingService = settingService;
     _localizationService = localizationService;
     _localizationSettings = localizationSettings;
     _storeContext = storeContext;
     _languageService = languageService;
     _blogService = blogService;
     _newsService = newsService;
     _categoryService = categoryService;
     _manufacturerService = manufacturerService;
     _topicService = topicService;
     _vendorService = vendorService;
     _productService = productService;
     _storeId = _storeContext.CurrentStore.Id;
     _languages = _languageService.GetAllLanguages(storeId: _storeId);
 }
		public FatecController(
			INewsService newsService, IFatecService fatecService, IWorkContext workContext)
		{
			_newsService = newsService;
			_fatecService = fatecService;
			_workContext = workContext;
		}
        public BaseArticleViewModel(INewsService newService)
        {
            if (newService == null)
                throw new ArgumentNullException("newsService");

            this.newService = newService;
            this.State = LoadingStates.NormalState;
        }
 public TblDataService(INewsService newsService, IFixtureService fixtureService, ITeamService teamService, ICompetitionService competitionService, IStatsReportingService statsReportingService, IPlayerService playerService)
 {
     this.newsService        = newsService;
     this.fixtureService     = fixtureService;
     this.teamService        = teamService;
     this.competitionService = competitionService;
     this.statsReportingService       = statsReportingService;
     this.playerService      = playerService;
 }
Esempio n. 9
0
        public NewsController(IUserService userService, INewsService newsService, INewsTagService newsTagService, INewsFileService newsFileService)
        {
            _newsService = newsService;
            _newsTagService = newsTagService;
            _newsFileService = newsFileService;
            _userService = userService;

            ViewBag.IsAdmin = _userService.IsUserInRole("Admin");
        }
 public BackwardCompatibility2XController(IProductService productService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     INewsService newsService, IBlogService blogService)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._newsService = newsService;
     this._blogService = blogService;
 }
Esempio n. 11
0
        public NewsController(INewsCategoryService newsCategoryService, INewsService newsService
            )
        {
            this._newsCategoryService = newsCategoryService;
            this._newsService = newsService;

            this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));

            ItemPerPage = AppSettings.ItemsPerPage;
        }
 public NewsController(IShapeFactory shapeFactory
     , INewsService newsService
     , INewsTypeService newsTypeService
     , IOrchardServices services)
 {
     _newsService = newsService;
     _newsTypeService = newsTypeService;
     _services = services;
     Shape = shapeFactory;
 }
        public FoodNewsPageViewModel()
        {
            _newsService = new NewsService();
            List<NewsItem> items = _newsService.GetNewsStories(NewsStoryCategory.Food);

            ObservableCollection<INewsItemViewModel> itemVMs = new ObservableCollection<INewsItemViewModel>();

            (from item in items
             select new NewsItemViewModel(item)).ToList().ForEach(itemVMs.Add);

            NewsStories = itemVMs;
        }
Esempio n. 14
0
 public HomeController(IBannerService bannerService, IProductService productService, IProServiceService proServiceService, INewsService newsService, IFaqService faqService, IGalleryService galleryService, ISettingService settingService, IContactService contactService, IPageService pageService, IUnitOfWork uow)
     : base(settingService, contactService, pageService, proServiceService, uow)
 {
     _bannerService = bannerService;
     _productService = productService;
     _proServiceService = proServiceService;
     _newsService = newsService;
     _faqService = faqService;
     _galleryService = galleryService;
     _pageService = pageService;
     _contactService = contactService;
 }
Esempio n. 15
0
 public NewsController(INewsService newsService, ILanguageService languageService,
     IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
     ILocalizationService localizationService, IPermissionService permissionService,
     AdminAreaSettings adminAreaSettings)
 {
     this._newsService = newsService;
     this._languageService = languageService;
     this._dateTimeHelper = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._adminAreaSettings = adminAreaSettings;
 }
 public HomeController(INewsService newsService,
     ICompetitionService competitionService,
     IStatsReportingService statsReportingService,
     IFixtureService fixtureService,
     IEventService eventService,
     ICupService cupService)
 {
     this.newsService           = newsService;
     this.competitionService    = competitionService;
     this.statsReportingService = statsReportingService;
     this.fixtureService        = fixtureService;
     this.eventService          = eventService;
     this.cupService            = cupService;
 }
 public NewsController(INewsService newsService, ILanguageService languageService,
     IDateTimeHelper dateTimeHelper, ICustomerContentService customerContentService,
     ILocalizationService localizationService, IPermissionService permissionService,
     IUrlRecordService urlRecordService, IStoreService storeService, IStoreMappingService storeMappingService)
 {
     this._newsService = newsService;
     this._languageService = languageService;
     this._dateTimeHelper = dateTimeHelper;
     this._customerContentService = customerContentService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
 }
Esempio n. 18
0
        public ProjectController(IProjectService projectService, IProjectMappingService projectMappingService,
            IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
            INewsService newsService, INewsMappingService newsMappingService, UserFactory userFactory)
        {
            this._projectService = projectService;
            this._projectMappingService = projectMappingService;

            this._projectImageService = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._newsService = newsService;
            this._newsMappingService = newsMappingService;

            this._userFactory = userFactory;
            this._userId = _userFactory.GetUserId(User.Identity.Name);
        }
 public BackwardCompatibility1XController(IProductService productService,
     ICategoryService categoryService, IManufacturerService manufacturerService,
     IProductTagService productTagService, INewsService newsService,
     IBlogService blogService, ITopicService topicService,
     IForumService forumService, ICustomerService customerService)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productTagService = productTagService;
     this._newsService = newsService;
     this._blogService = blogService;
     this._topicService = topicService;
     this._forumService = forumService;
     this._customerService = customerService;
 }
Esempio n. 20
0
        public HomeController(IConfigService configService, IBannerService bannerService,
            IBannerMappingService bannerMappingService, IGroupControlService groupControlService, IControlService controlService,
            IProjectService projectService, INewsService newsService, INewsCategoryService newsCategoryService,
            IOtherPageSEOService otherPageSeoService)
        {
            this._configService = configService;
            this._bannerService = bannerService;
            this._bannerMappingService = bannerMappingService;
            this._groupControlService = groupControlService;
            this._controlService = controlService;
            this.configModel = _configService.GetAll().SingleOrDefault();
            this._projectService = projectService.GetAll();
            this._newsService = newsService;
            this._newsCategoryService = newsCategoryService;
            this._otherPageSeoService = otherPageSeoService;

            this.LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));
        }
 public RobotsTxtController(ISettingService settingService,
     ILocalizationService localizationService,
     LocalizationSettings localizationSettings,
     IStoreContext storeContext,
     ILanguageService languageService,
     IBlogService blogService,
     INewsService newsService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     ITopicService topicService,
     IVendorService vendorService,
     IProductService productService)
 {
     _manager = new RobotsTxtManager(settingService, localizationService, localizationSettings,
         storeContext, languageService, blogService, newsService, categoryService, manufacturerService,
         topicService, vendorService, productService);
     _localizationService = localizationService;
     _settingService = settingService;
 }
        public WidgetsNewsController(
            IWorkContext workContext, 
            IStoreContext storeContext, 
            INewsService newsService, 
            ICacheManager cacheManager,
            IDateTimeHelper dateTimeHelper)
        {
            if (workContext == null) throw new ArgumentNullException("workContext");
            if (storeContext == null) throw new ArgumentNullException("storeContext");
            if (newsService == null) throw new ArgumentNullException("newsService");
            if (cacheManager == null) throw new ArgumentNullException("cacheManager");
            if (dateTimeHelper == null) throw new ArgumentNullException("dateTimeHelper");

            _workContext = workContext;
            _storeContext = storeContext;
            _newsService = newsService;
            _cacheManager = cacheManager;
            _dateTimeHelper = dateTimeHelper;
        }
        public ConstructionController(IProjectService projectService, IProjectMappingService projectMappingService,
            IProjectImageService projectImageService, IProjectImageMappingService projectImageMappingService,
            INewsService newsService, INewsMappingService newsMappingService,
            IOtherPageSEOService otherPageSeoService)
        {
            this._projectService = projectService;
            this._projectMappingService = projectMappingService;

            this._projectImageService = projectImageService;
            this._projectImageMappingService = projectImageMappingService;

            this._newsService = newsService;
            this._newsMappingService = newsMappingService;

            this._otherPageSeoService = otherPageSeoService;

            ItemPerPage = AppSettings.ItemsPerPage;

            LanguageId = int.Parse(Cookies.ReadCookie("PenDesign:Language", "129"));
        }
Esempio n. 24
0
 public NewsController(INewsService newsService, 
     ILanguageService languageService,
     IDateTimeHelper dateTimeHelper,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     IUrlRecordService urlRecordService,
     IStoreService storeService,
     IStoreMappingService storeMappingService, IPictureService pictureService, ICataloguesService cataloguesService,IWorkContext workContext )
 {
     this._newsService = newsService;
     this._languageService = languageService;
     this._dateTimeHelper = dateTimeHelper;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._pictureService = pictureService;
     this._catalogueService = cataloguesService;
     this._workContext = workContext;
 }
Esempio n. 25
0
        public NewsController(INewsService newsService, 
            IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            StoreInformationSettings storeInformationSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
        }
Esempio n. 26
0
 public BotServices(ILoggingService loggingService,
     IEventService eventService,
     ITickerService tickerService,
     IDefenceService defenceService, 
     INewsService newsService,
     IKarmaService karmaService,
     IReplyService replyService,
     IStatsService statsService,
     IServerService serverService,
     IUrlService urlService,
     IJobService jobs)
 {
     Logging = loggingService;
     Events = eventService;
     Ticker = tickerService;
     Defence = defenceService;
     News = newsService;
     Karma = karmaService;
     AI = replyService;
     Stats = statsService;
     Server = serverService;
     Tools = urlService;
     Jobs = jobs;
 }
 public CataloguesController(ICataloguesService cataloguesService,
   INewsService newsService, 
     ICustomerService customerService,
     IUrlRecordService urlRecordService, 
     IPictureService pictureService, 
     ILanguageService languageService,
     ILocalizationService localizationService, 
     ILocalizedEntityService localizedEntityService,
     IDiscountService discountService,
     IPermissionService permissionService,
     IAclService aclService, 
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager, 
     IVendorService vendorService, 
     ICustomerActivityService customerActivityService,
     CataloguesSettings cataloguesSettings)
 {
     this._cataloguesService = cataloguesService;
     this._newsService = newsService;
     this._customerService = customerService;
     this._urlRecordService = urlRecordService;
     this._pictureService = pictureService;
     this._languageService = languageService;
     this._localizationService = localizationService;
     this._localizedEntityService = localizedEntityService;
     this._discountService = discountService;
     this._permissionService = permissionService;
     this._vendorService = vendorService;
     this._aclService = aclService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._customerActivityService = customerActivityService;
     this._cataloguesSettings = cataloguesSettings;
 }
Esempio n. 28
0
 public BackwardCompatibility1XController(IProductService productService,
                                          ICategoryService categoryService, IManufacturerService manufacturerService,
                                          IProductTagService productTagService, INewsService newsService,
                                          IBlogService blogService, ITopicService topicService,
                                          IForumService forumService, ICustomerService customerService)
 {
     this._productService      = productService;
     this._categoryService     = categoryService;
     this._manufacturerService = manufacturerService;
     this._productTagService   = productTagService;
     this._newsService         = newsService;
     this._blogService         = blogService;
     this._topicService        = topicService;
     this._forumService        = forumService;
     this._customerService     = customerService;
 }
Esempio n. 29
0
 public NewsCategoryWidget()
 {
     _newsServices = HostContainer.GetInstance <INewsService>();
     NewsListing   = new NewsListingWidget();
 }
Esempio n. 30
0
 public NewsController(INewsService newsService, ITelegramService telegramService)
 {
     this.newsService     = newsService;
     this.telegramService = telegramService;
 }
Esempio n. 31
0
 public NewsController(INewsService news)
 {
     this.news = news;
 }
Esempio n. 32
0
 public NewsPage(INewsService newsService)
 {
     _viewModel     = new NewsPageViewModel(newsService);
     BindingContext = _viewModel;
     InitializeComponent();
 }
Esempio n. 33
0
 public NewsController(INewsService service)
 {
     _service = service;
 }
Esempio n. 34
0
 public NewsController(SportNewsDbContext context, IMapper mapper, IStandingService service, INewsService newsService, UserManager <User> userManager)
 {
     _context         = context;
     _mapper          = mapper;
     _service         = service;
     this.newsService = newsService;
     this.userManager = userManager;
 }
Esempio n. 35
0
 public NewsViewModelMapper(IUmbracoContextProvider umbracoConextProvider, INewsService newsService)
     : base(umbracoConextProvider)
 {
     _newsService = newsService;
 }
Esempio n. 36
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="nytService">News Service DI</param>
 /// <param name="dbService">Db Service DI</param>
 public UserSearchController(INewsService nytService, IDbService dbService)
 {
     _nytService = nytService;
     _dbService  = dbService;
 }
 public NewsController(INewsService newsService)
 {
     _newsService = newsService;
 }
Esempio n. 38
0
 public NewsController(INewsService newsService, IUserService userService, IDeletableEntityRepository <RSSChannel> rrsRepository)
 {
     this.newsService   = newsService;
     this.userService   = userService;
     this.rrsRepository = rrsRepository;
 }
Esempio n. 39
0
 public NewsViewModel(INewsService newsService)
 {
     this.newsService = newsService;
 }
 public ApplicationService(INewsService newsService, ILoggerFactory loggerFactory, IConsoleWrapper console)
 {
     _newsService = newsService;
     _logger      = loggerFactory.CreateLogger(GetType());
     _console     = console;
 }
Esempio n. 41
0
 public NewsController(INewsService newsService)
 {
     this.newsService = newsService;
 }
Esempio n. 42
0
 public NewsServiceTest()
 {
     _newsServiceMock    = Substitute.For <INewsService>();
     _newsRepositoryMock = Substitute.For <INewsRepository>();
 }
Esempio n. 43
0
 public HomeController(IMovieService movieService, INewsService newsService, IMemoryCache cache)
 {
     this.movieService = movieService ?? throw new ArgumentNullException(nameof(movieService));
     this.newsService  = newsService ?? throw new ArgumentNullException(nameof(newsService));
     this.cacheService = cache ?? throw new ArgumentNullException(nameof(cache));
 }
Esempio n. 44
0
        public InsertNewsCommentCommandHandler(IWorkContext workContext, IStoreContext storeContext, INewsService newsService,
                                               ICustomerService customerService, IWorkflowMessageService workflowMessageService, NewsSettings newsSettings,
                                               LocalizationSettings localizationSettings)
        {
            _workContext            = workContext;
            _storeContext           = storeContext;
            _newsService            = newsService;
            _customerService        = customerService;
            _workflowMessageService = workflowMessageService;

            _newsSettings         = newsSettings;
            _localizationSettings = localizationSettings;
        }
Esempio n. 45
0
 public InformationArchivePageController(INewsService newsService)
 {
     _newService = newsService;
 }
Esempio n. 46
0
 public NewsController(INewsService newsService, IMapper mapper)
 {
     this.newsService = newsService;
     this.mapper      = mapper;
 }
Esempio n. 47
0
 public NewsCardsViewComponent([FromServices] INewsService newsService)
 {
     _newsService = newsService;
 }
 public HomeController(ILogger <HomeController> logger, INewsService newsService, INodeJSService nodeJSService)
 {
     _logger             = logger;
     this._newsService   = newsService;
     this._nodeJSService = nodeJSService;
 }
Esempio n. 49
0
 public AdminController(INewsService newsService, ICategoryService categoryService)
 {
     this.newsService     = newsService;
     this.categoryService = categoryService;
 }
Esempio n. 50
0
 public RateNewsHandler(INewsService newsService)
 {
     _newsService = newsService;
 }
Esempio n. 51
0
 public NewsController(INewsService newsService, IMapper mapper)
 {
     _newsService = newsService ?? throw new ArgumentNullException(nameof(newsService));
     _mapper      = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Esempio n. 52
0
 public NewsEditorController(INewsService newsService)
 {
     _newsService = newsService;
 }
Esempio n. 53
0
 public HomeController(IRepresentativeUserService representativeUserService, INewsService newsService)
 {
     _representativeUserService = representativeUserService;
 }
Esempio n. 54
0
 public NewsController(INewsService newsService, UserManager <SteuUser> userManager)
 {
     this.newsService = newsService;
     this.userManager = userManager;
 }
Esempio n. 55
0
 public NewsSectionController(INewsService <NewsBase> newsService, IIntranetUserService <IIntranetUser> intranetUserService, IMediaHelper mediaHelper, IMyLinksService myLinksService)
     : base(newsService, intranetUserService, mediaHelper)
 {
     _myLinksService = myLinksService;
 }
Esempio n. 56
0
 public NewsController()
 {
     this.newsService = new SkySportsNewsService();
 }
 public CommonModelFactory(BlogSettings blogSettings,
                           CaptchaSettings captchaSettings,
                           CatalogSettings catalogSettings,
                           CommonSettings commonSettings,
                           CustomerSettings customerSettings,
                           DisplayDefaultFooterItemSettings displayDefaultFooterItemSettings,
                           ForumSettings forumSettings,
                           IActionContextAccessor actionContextAccessor,
                           IBlogService blogService,
                           ICategoryService categoryService,
                           ICurrencyService currencyService,
                           ICustomerService customerService,
                           IForumService forumService,
                           IGenericAttributeService genericAttributeService,
                           IHttpContextAccessor httpContextAccessor,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           IManufacturerService manufacturerService,
                           INewsService newsService,
                           IQNetFileProvider fileProvider,
                           IPageHeadBuilder pageHeadBuilder,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IProductService productService,
                           IProductTagService productTagService,
                           IShoppingCartService shoppingCartService,
                           ISitemapGenerator sitemapGenerator,
                           IStaticCacheManager cacheManager,
                           IStoreContext storeContext,
                           IThemeContext themeContext,
                           IThemeProvider themeProvider,
                           ITopicService topicService,
                           IUrlHelperFactory urlHelperFactory,
                           IUrlRecordService urlRecordService,
                           IWebHelper webHelper,
                           IWorkContext workContext,
                           LocalizationSettings localizationSettings,
                           MediaSettings mediaSettings,
                           NewsSettings newsSettings,
                           SitemapSettings sitemapSettings,
                           SitemapXmlSettings sitemapXmlSettings,
                           StoreInformationSettings storeInformationSettings,
                           VendorSettings vendorSettings)
 {
     _blogSettings     = blogSettings;
     _captchaSettings  = captchaSettings;
     _catalogSettings  = catalogSettings;
     _commonSettings   = commonSettings;
     _customerSettings = customerSettings;
     _displayDefaultFooterItemSettings = displayDefaultFooterItemSettings;
     _forumSettings           = forumSettings;
     _actionContextAccessor   = actionContextAccessor;
     _blogService             = blogService;
     _categoryService         = categoryService;
     _currencyService         = currencyService;
     _customerService         = customerService;
     _forumService            = forumService;
     _genericAttributeService = genericAttributeService;
     _httpContextAccessor     = httpContextAccessor;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _manufacturerService     = manufacturerService;
     _newsService             = newsService;
     _fileProvider            = fileProvider;
     _pageHeadBuilder         = pageHeadBuilder;
     _permissionService       = permissionService;
     _pictureService          = pictureService;
     _productService          = productService;
     _productTagService       = productTagService;
     _shoppingCartService     = shoppingCartService;
     _sitemapGenerator        = sitemapGenerator;
     _cacheManager            = cacheManager;
     _storeContext            = storeContext;
     _themeContext            = themeContext;
     _themeProvider           = themeProvider;
     _topicService            = topicService;
     _urlHelperFactory        = urlHelperFactory;
     _urlRecordService        = urlRecordService;
     _webHelper                = webHelper;
     _workContext              = workContext;
     _mediaSettings            = mediaSettings;
     _localizationSettings     = localizationSettings;
     _newsSettings             = newsSettings;
     _sitemapSettings          = sitemapSettings;
     _sitemapXmlSettings       = sitemapXmlSettings;
     _storeInformationSettings = storeInformationSettings;
     _vendorSettings           = vendorSettings;
 }
Esempio n. 58
0
 public DashBoardController(IPostService postService, INewsService newsService)
 {
     this._postService = postService;
     this._newsService = newsService;
 }
 public NewsController(INewsService newsService)
 {
     Check.Require(newsService != null, "newsService may not be null");
     this.newsService = newsService;
 }
Esempio n. 60
0
 public SchoolController(IUserService userService, IPictureService pictureService, IUserContext userContext, ISliderService sliderService, ISettingService settingService, ISMSService smsService, IVideoService videoService, ICommentService commentService, IReplyService replyService, IBlogService blogService, INewsService newsService, IEventService eventService)
 {
     this._userService    = userService;
     this._pictureService = pictureService;
     this._userContext    = userContext;
     this._sliderService  = sliderService;
     this._settingService = settingService;
     this._smsService     = smsService;
     this._videoService   = videoService;
     this._commentService = commentService;
     this._replyService   = replyService;
     this._blogService    = blogService;
     this._eventService   = eventService;
     this._newsService    = newsService;
 }