public LomadeeCategoryHttpRepository(LomadeeHttpSettings lomadeeSettings, HttpClient client, IMapper mapper, LomadeeCouponMongoDbRepository couponRepository) { _client = client.ThrowIfNull(nameof(client)); _lomadeeSettings = lomadeeSettings.ThrowIfNull(nameof(lomadeeSettings)); _mapper = mapper.ThrowIfNull(nameof(mapper)); _couponRepository = couponRepository.ThrowIfNull(nameof(couponRepository)); }
public LomadeeStoreHttpRepository(LomadeeHttpSettings lomadeeSettings, HttpClient client, IMapper mapper, LomadeeCouponMongoDbRepository couponRepository) { _client = client ?? throw new ArgumentNullException(nameof(client)); _lomadeeSettings = lomadeeSettings ?? throw new ArgumentNullException(nameof(lomadeeSettings)); _mapper = mapper.ThrowIfNull(nameof(mapper)); _couponRepository = couponRepository.ThrowIfNull(nameof(couponRepository)); }
public ZanoxStoreHttpRepository(ZanoxHttpSettings zanoxSettings, HttpClient client, IMapper mapper, ZanoxProgramHttpRepository programRepository, ZanoxCouponMongoDbRepository couponRepository) { _client = client.ThrowIfNull(nameof(client)); _zanoxSettings = zanoxSettings.ThrowIfNull(nameof(zanoxSettings)); _mapper = mapper.ThrowIfNull(nameof(mapper)); _programRepository = programRepository.ThrowIfNull(nameof(programRepository)); _couponRepository = couponRepository.ThrowIfNull(nameof(ZanoxCouponMongoDbRepository)); }
public ZanoxCategoryHttpRepository(ZanoxProgramHttpRepository programRepository, ZanoxStoreMongoDbRepository storeRepository, ZanoxCouponRepository couponRepository) { _programRepository = programRepository.ThrowIfNull(nameof(programRepository)); _storeRepository = storeRepository.ThrowIfNull(nameof(storeRepository)); _couponRepository = couponRepository.ThrowIfNull(nameof(couponRepository)); }
public AffiliateCouponsSchedulableJob(IAffiliateCouponRepository repositoryFromPartner, IAffiliateCouponRepository cuponicoRepository, IPublisher publisher) { _repositoryFromPartner = repositoryFromPartner ?? throw new ArgumentNullException(nameof(repositoryFromPartner)); _cuponicoRepository = cuponicoRepository ?? throw new ArgumentNullException(nameof(cuponicoRepository)); _publisher = publisher ?? throw new ArgumentNullException(nameof(publisher)); }
public AffiliateCouponsSchedulableJobLomadee(IAffiliateCouponRepository repositoryFromPartner, IAffiliateCouponRepository cuponicoRepository, IPublisher publisher) : base(repositoryFromPartner, cuponicoRepository, publisher) { }