예제 #1
0
        private async Task <OperationTotals> Calculate(OperationData operationData)
        {
            var numericWorkingData   = operationData.GetNumericWorkingData().ToList();
            var spatialRecords       = operationData.GetSpatialRecordsSafely().ToList();
            var representationTotals = await _representationTotalsCalculator.Calculate(numericWorkingData, spatialRecords);

            return(new OperationTotals(operationData.OperationType, representationTotals));
        }