public PostFactory( IDateService dateService, IUserContext userContext, IPostRepository postRepository, ITagRepository tagRepository, ITagFactory tagFactory, IWebsiteInfo websiteInfo ) { dateService.CheckArgumentIsNull(); _dateService = dateService; userContext.CheckArgumentIsNull(); _userContext = userContext; postRepository.CheckArgumentIsNull(); _postRepository = postRepository; tagRepository.CheckArgumentIsNull(nameof(tagRepository)); _tagRepository = tagRepository; tagFactory.CheckArgumentIsNull(nameof(tagFactory)); _tagFactory = tagFactory; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
public PostService(IPostRepository repository, IPostTypeRepository postTypeRepository, ILanguageRepository languageRepository, ICategoryRepository categoryRepository, IPostMetaRepository metaRepository, IPostFactory factory, IDateService dateService, IWebsiteInfo websiteInfo ) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; postTypeRepository.CheckArgumentIsNull(nameof(postTypeRepository)); _postTypeRepository = postTypeRepository; languageRepository.CheckArgumentIsNull(nameof(languageRepository)); _languageRepository = languageRepository; categoryRepository.CheckArgumentIsNull(nameof(categoryRepository)); _categoryRepository = categoryRepository; metaRepository.CheckArgumentIsNull(nameof(metaRepository)); _metaRepository = metaRepository; factory.CheckArgumentIsNull(); _factory = factory; dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
public SearchService( IPostRepository postRepository, IWebsiteInfo websiteInfo) { postRepository.CheckArgumentIsNull(); _postRepository = postRepository; websiteInfo.CheckArgumentIsNull(); _websiteInfo = websiteInfo; }
public WebsiteVisitFactory(IDateService dateService, IWebsiteInfo websiteInfo) { dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
public ShippingService( IWebsiteInfo websiteInfo, IWebsiteRepository websiteRepository) { websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; websiteRepository.CheckArgumentIsNull(nameof(websiteRepository)); _websiteRepository = websiteRepository; }
public SubscriberFactory( IWebsiteInfo websiteInfo, IDateService dateService) { websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; }
public TagService( ITagRepository repository, IWebsiteInfo websiteInfo) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
public FileFactory( IUserContext userContext, IDateService dateService, IWebsiteInfo websiteInfo) { userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
public MenuService( IWebsiteInfo websiteInfo, IMenuRepository menuRepository, IWebsiteOptionRepository websiteOptionRepository) { menuRepository.CheckArgumentIsNull(nameof(menuRepository)); _menuRepository = menuRepository; websiteOptionRepository.CheckArgumentIsNull(nameof(websiteOptionRepository)); _websiteOptionRepository = websiteOptionRepository; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
public CustomerFactory( IDateService dateService, IWebsiteInfo websiteInfo, IShippingAddressFactory shippingAddressFactory) { dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; shippingAddressFactory.CheckArgumentIsNull(nameof(shippingAddressFactory)); _shippingAddressFactory = shippingAddressFactory; }
public UserService( IUserRepository repository, IUserFactory factory, IAppUserManager userManager, IWebsiteInfo websiteInfo) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; factory.CheckArgumentIsNull(nameof(factory)); _factory = factory; userManager.CheckArgumentIsNull(nameof(userManager)); _userManager = userManager; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }
protected BehlogController(IWebsiteInfo websiteInfo, IUserContext userContext, IOptionsSnapshot <BehlogSetting> setting, ILogger <Controller> logger ) { websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; setting.CheckArgumentIsNull(nameof(setting)); _setting = setting; logger.CheckArgumentIsNull(nameof(logger)); _logger = logger; }
public PostFileFactory( IWebsiteInfo websiteInfo, IDateService dateService, IUserContext userContext, IFileRepository fileRepository) { websiteInfo.CheckArgumentIsNull(); _websiteInfo = websiteInfo; dateService.CheckArgumentIsNull(); _dateService = dateService; userContext.CheckArgumentIsNull(); _userContext = userContext; fileRepository.CheckArgumentIsNull(); _fileRepository = fileRepository; }
public WebsiteOptionService( IWebsiteOptionRepository repository, IWebsiteInfo websiteInfo, IWebsiteOptionFactory factory, ILanguageRepository langRepository, BehlogSetting setting) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; factory.CheckArgumentIsNull(nameof(factory)); _factory = factory; langRepository.CheckArgumentIsNull(nameof(langRepository)); _langRepository = langRepository; setting.CheckArgumentIsNull(nameof(setting)); _setting = setting; }
public WebsiteMenuViewComponent( IMenuService menuService, IWebsiteInfo websiteInfo, WebsiteOptionsProvider websiteOptionsProvider, IUserContext userContext, ILinkBuilder linkBuilder) { menuService.CheckArgumentIsNull(nameof(menuService)); _menuService = menuService; websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; websiteOptionsProvider.CheckArgumentIsNull(nameof(websiteOptionsProvider)); _websiteOptionsProvider = websiteOptionsProvider; userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; linkBuilder.CheckArgumentIsNull(nameof(linkBuilder)); _linkBuilder = linkBuilder; }
public LoginController( ILogger <LoginController> logger, IAppSignInManager signInManager, IAppUserManager userManager, IOptionsSnapshot <BehlogSetting> appSettings, IDateService dateService, IWebsiteInfo websiteInfo ) { logger.CheckArgumentIsNull(); signInManager.CheckArgumentIsNull(); userManager.CheckArgumentIsNull(); appSettings.CheckArgumentIsNull(); dateService.CheckArgumentIsNull(); websiteInfo.CheckArgumentIsNull(); _logger = logger; _signInManager = signInManager; _userManager = userManager; _appSettings = appSettings; _dateService = dateService; _websiteInfo = websiteInfo; }
public WebsiteOptionFactory(IWebsiteInfo websiteInfo) { websiteInfo.CheckArgumentIsNull(nameof(websiteInfo)); _websiteInfo = websiteInfo; }