コード例 #1
0
ファイル: WebsiteService.cs プロジェクト: yeganetrn/behlog
        public WebsiteService(
            ICurrencyRepository currencyRepository,
            IWebsiteRepository repository,
            IWebsiteFactory factory)
        {
            currencyRepository.CheckArgumentIsNull(nameof(currencyRepository));
            _currencyRepository = currencyRepository;

            repository.CheckArgumentIsNull(nameof(repository));
            _repository = repository;

            factory.CheckArgumentIsNull(nameof(factory));
            _factory = factory;
        }