コード例 #1
0
 public AffiliateCouponDomainService(ICouponRepository repository,
                                     IAffiliateCouponMatchesRepository matchesRepository,
                                     IAffiliateStoreMatchesRepository storeRepository,
                                     IAffiliateCategoryMatchesRepository categoryRepository)
 {
     _couponRepository   = repository.ThrowIfNull(nameof(repository));
     _matchesRepository  = matchesRepository.ThrowIfNull(nameof(matchesRepository));
     _storeRepository    = storeRepository.ThrowIfNull(nameof(storeRepository));
     _categoryRepository = categoryRepository.ThrowIfNull(nameof(categoryRepository));
 }
コード例 #2
0
 public AffiliateCategoryDomainService(IAffiliateCategoryMatchesRepository matchesRepository, ICategoryRepository categoryRepository)
 {
     _matchesRepository  = matchesRepository.ThrowIfNull(nameof(matchesRepository));
     _categoryRepository = categoryRepository.ThrowIfNull(nameof(categoryRepository));
 }