Exemplo n.º 1
0
        public OffersManager initOffersManager(
            IOfferRepository IOfferRepository,
            IOfferAttributeRepository IOfferAttributeRepository,
            IProviderRepository IProviderRepository,
            IAttributeRepository IAttributeRepository, 
            ILiveMatch ILiveMatch,
            IRespondentCatalog IRespondentCatalog,
            IQuotaExpressionRepository IQuotaExpressionRepository,
            IQuotaMappingRepository IQuotaMappingRepository,
            ISampleMappingRepository ISampleMappingRepository,
            IGMIStudy IGMIStudy,
            ISteamStudy ISteamStudy,
            IQuotaLiveMatch IQuotaLiveMatch
            )
        {
            OffersManager OffersManager = new OffersManager(
            IOfferRepository,
            IOfferAttributeRepository,
            IProviderRepository,
            IAttributeRepository,
            ILiveMatch,
            IRespondentCatalog,
            IQuotaExpressionRepository,
            IQuotaMappingRepository,
            ISampleMappingRepository,
            IGMIStudy,
            ISteamStudy,
            IQuotaLiveMatch);

            return OffersManager;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Xunit Constructor
 /// </summary>
 /// <param name="IOfferRepository"></param>
 /// <param name="IOfferAttributeRepository"></param>
 /// <param name="IProviderRepository"></param>
 /// <param name="IAttributeRepository"></param>
 /// <param name="ILiveMatch"></param>
 /// <param name="IRespondentCatalog"></param>
 public OffersManager(
     IOfferRepository IOfferRepository,
     IOfferAttributeRepository IOfferAttributeRepository,
     IProviderRepository IProviderRepository,
     IAttributeRepository IAttributeRepository,
     ILiveMatch ILiveMatch,
     IRespondentCatalog IRespondentCatalog,
     IQuotaExpressionRepository IQuotaExpressionRepository,
     IQuotaMappingRepository IQuotaMappingRepository,
     ISampleMappingRepository ISampleMappingRepository,
     IGMIStudy IGMIStudy,
     ISteamStudy ISteamStudy,
     IQuotaLiveMatch IQuotaLiveMatch
     )
 {
     //log = LoggerFactory.GetLogger("Xunit");
     //detailedLog = LoggerFactory.GetLogger("Xunit");
     this.xunit = true;
     this.IOfferRepository = IOfferRepository;
     this.IOfferAttributeRepository = IOfferAttributeRepository;
     this.IProviderRepository = IProviderRepository;
     this.IAttributeRepository = IAttributeRepository;
     this.ILiveMatch = ILiveMatch;
     this.IRespondentCatalog = IRespondentCatalog;
     this.IQuotaExpressionRepository = IQuotaExpressionRepository;
     this.IQuotaMappingRepository = IQuotaMappingRepository;
     this.ISampleMappingRepository = ISampleMappingRepository;
     this.IGMIStudy = IGMIStudy;
     this.ISteamStudy = ISteamStudy;
     this.IQuotaLiveMatch = IQuotaLiveMatch;
 }