Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 3
0
 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));
 }
Ejemplo n.º 4
0
 public ZanoxCategoryHttpRepository(ZanoxProgramHttpRepository programRepository, ZanoxStoreMongoDbRepository storeRepository, ZanoxCouponRepository couponRepository)
 {
     _programRepository = programRepository.ThrowIfNull(nameof(programRepository));
     _storeRepository   = storeRepository.ThrowIfNull(nameof(storeRepository));
     _couponRepository  = couponRepository.ThrowIfNull(nameof(couponRepository));
 }
Ejemplo n.º 5
0
 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));
 }
Ejemplo n.º 6
0
 public AffiliateCouponsSchedulableJobLomadee(IAffiliateCouponRepository repositoryFromPartner, IAffiliateCouponRepository cuponicoRepository, IPublisher publisher) : base(repositoryFromPartner, cuponicoRepository, publisher)
 {
 }