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 PostVisitFactory( IDateService dateService, IUserContext userContext) { dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; }
public CommentService( ICommentRepository repository, ICommentFactory factory, IUserContext userContext) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; factory.CheckArgumentIsNull(nameof(factory)); _factory = factory; userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; }
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 CommentFactory( ICommentRepository repository, IUserContext userContext, IDateService dateService) { repository.CheckArgumentIsNull(nameof(repository)); _repository = repository; userContext.CheckArgumentIsNull(nameof(userContext)); _userContext = userContext; dateService.CheckArgumentIsNull(nameof(dateService)); _dateService = dateService; }
public CategoryFactory( IDateService dateService, IUserContext userContext, ICategoryRepository repo ) { dateService.CheckArgumentIsNull(); _dateService = dateService; userContext.CheckArgumentIsNull(); _userContext = userContext; repo.CheckArgumentIsNull(); _repo = repo; }
public CategoryService( ICategoryRepository repo, ICategoryFactory factory, IUserContext userContext ) { repo.CheckArgumentIsNull(); _repo = repo; factory.CheckArgumentIsNull(); _factory = factory; userContext.CheckArgumentIsNull(); _userContext = userContext; }
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 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 AdminHeadNavViewComponent(IUserContext userContext) { userContext.CheckArgumentIsNull(); _userContext = userContext; }