Example #1
0
        public AggregationMethod Make(MethodResolutionService methodResolutionService, int agentInstanceId, int groupId, int aggregationId)
        {
            AggregationMethod method = methodResolutionService.MakeSumAggregator(agentInstanceId, groupId, aggregationId, _inputValueType, _parent.HasFilter);

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