Пример #1
0
        private BreakByMetric(IDimension subDimension, MetricMultiplexer metricsTemplate)
        {
            if (subDimension == null)
                throw new ArgumentNullException(nameof(subDimension));

            _metricsTemplate = metricsTemplate;
            _subDimension = subDimension;

            _metricAggregates = new FlexiRow<string, IMetric>(((IMetric)_metricsTemplate).CreateNew);
        }
Пример #2
0
        void IResultsAggregator.Begin()
        {
            _metricMultiplexer = new MetricMultiplexer(_metricTemplates);
            _row = new FlexiRow<DimensionValues, IMetric>(() => ((IMetric)_metricMultiplexer).CreateNew());

            _dimensionsKeyBuilder = new DimensionsKeyBuilder(_dimensions);
        }