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; }
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; }