public AggregationMethod Make(MethodResolutionService methodResolutionService, int agentInstanceId, int groupId, int aggregationId) { if (_isEver) { return(methodResolutionService.MakeRateEverAggregator(agentInstanceId, groupId, aggregationId, _intervalMSec)); } else { return(methodResolutionService.MakeRateAggregator(agentInstanceId, groupId, aggregationId)); } }