public override void UpdatePropertiesFrom(IUpdatable source, ICloneManager cloneManager) { base.UpdatePropertiesFrom(source, cloneManager); var singleCurveSelection = source as PredefinedStatisticalAggregation; if (singleCurveSelection == null) { return; } Method = singleCurveSelection.Method; }
protected When_calculating_the_statistics_using_a_predefined_method(StatisticalAggregationType statisticalAggregationType, Func <float[], float> method) { _statisticalAggregationType = statisticalAggregationType; _method = method; }
protected When_calculating_the_statistics_using_a_predefined_range_method(StatisticalAggregationType statisticalAggregationType, Func <float[], float> lowerRange, Func <float[], float> upperRange) : base(statisticalAggregationType, lowerRange) { _upperRange = upperRange; }