public SeriesLogic(IEnumerable<ISeriesEvaluator> evaluators, ISeriesCache cache)
 {
     if (evaluators == null) throw new ArgumentNullException(nameof(evaluators));
     if (cache == null) throw new ArgumentNullException(nameof(cache));
     _evaluators = evaluators;
     _cache = cache;
 }
示例#2
0
        public SeriesLogic(IEnumerable <ISeriesEvaluator> evaluators, ISeriesCache cache)
        {
            if (evaluators == null)
            {
                throw new ArgumentNullException(nameof(evaluators));
            }
            if (cache == null)
            {
                throw new ArgumentNullException(nameof(cache));
            }

            _evaluators = evaluators;
            _cache      = cache;
        }