Esempio n. 1
0
        public WebsiteFooterViewComponent(
            IPostService postService,
            IWebsiteOptionService websiteOptionService)
        {
            postService.CheckArgumentIsNull(nameof(postService));
            _postService = postService;

            websiteOptionService.CheckArgumentIsNull(nameof(websiteOptionService));
            _websiteOptionService = websiteOptionService;
        }
Esempio n. 2
0
        public WebsiteOptionsProvider(
            ILanguageRepository langRepository,
            IWebsiteOptionService websiteOptionService,
            WebsiteOptionSetting setting)
        {
            langRepository.CheckArgumentIsNull(nameof(langRepository));
            _langRepository = langRepository;

            websiteOptionService.CheckArgumentIsNull(nameof(websiteOptionService));
            _websiteOptionService = websiteOptionService;

            setting.CheckArgumentIsNull(nameof(setting));
            _setting = setting;
        }
Esempio n. 3
0
 public SocialNetworkWidgetViewComponent(
     IWebsiteOptionService websiteOptionService)
 {
     websiteOptionService.CheckArgumentIsNull(nameof(websiteOptionService));
     _websiteOptionService = websiteOptionService;
 }
 public WebsiteSimpleFooterViewComponent(IWebsiteOptionService websiteOptionService) {
     websiteOptionService.CheckArgumentIsNull(nameof(websiteOptionService));
     _websiteOptionService = websiteOptionService;
 }
Esempio n. 5
0
 public ContactInfoWidgetViewComponent(IWebsiteOptionService optionService)
 {
     optionService.CheckArgumentIsNull(nameof(optionService));
     _optionService = optionService;
 }
Esempio n. 6
0
 public ContactFormViewComponent(
     IWebsiteOptionService websiteOptionService)
 {
     websiteOptionService.CheckArgumentIsNull(nameof(websiteOptionService));
     _websiteOptionService = websiteOptionService;
 }