コード例 #1
0
        public AggregationMethod Make(MethodResolutionService methodResolutionService, int agentInstanceId, int groupId, int aggregationId)
        {
            AggregationMethod method = methodResolutionService.MakeMedianAggregator(agentInstanceId, groupId, aggregationId, _parent.HasFilter);

            if (!_parent.IsDistinct)
            {
                return(method);
            }
            return(methodResolutionService.MakeDistinctAggregator(agentInstanceId, groupId, aggregationId, method, _aggregatedValueType, _parent.HasFilter));
        }