コード例 #1
0
        public override void UpdatePropertiesFrom(IUpdatable source, ICloneManager cloneManager)
        {
            base.UpdatePropertiesFrom(source, cloneManager);
            var singleCurveSelection = source as PredefinedStatisticalAggregation;

            if (singleCurveSelection == null)
            {
                return;
            }
            Method = singleCurveSelection.Method;
        }
コード例 #2
0
 protected When_calculating_the_statistics_using_a_predefined_method(StatisticalAggregationType statisticalAggregationType, Func <float[], float> method)
 {
     _statisticalAggregationType = statisticalAggregationType;
     _method = method;
 }
コード例 #3
0
 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;
 }