public DefaultPromotionEvaluator(IMarketingRepository repository, IPromotionUsageProvider usageProvider, IEvaluationPolicy[] policies, ICacheRepository cache) :base(cache) { _repository = repository; _usageProvider = usageProvider; _policies = policies; _isEnabled = MarketingConfiguration.Instance.Cache.IsEnabled; Cache = new CacheHelper(cache); }
public DefaultPromotionEvaluator(IMarketingRepository repository, IPromotionUsageProvider usageProvider, IEvaluationPolicy[] policies, ICacheRepository cache) : base(cache) { _repository = repository; _usageProvider = usageProvider; _policies = policies; _isEnabled = MarketingConfiguration.Instance.Cache.IsEnabled; Cache = new CacheHelper(cache); }