public ParameterValue[] Get(ReportParameter[] baseReportParmaeters, IPromptSelections promptSelections) { var parameterValuesToReturn = new List <ParameterValue>(); var baseReportPrompts = _baseReportInterpreter.Get(baseReportParmaeters); foreach (var parameterValueBuilder in baseReportPrompts) { var promptParmaeterValues = promptSelections.CreateParameterValuesFor(parameterValueBuilder); parameterValuesToReturn.AddRange(promptParmaeterValues); } return(parameterValuesToReturn.ToArray()); }
public ParameterValue[] Get(ReportParameter[] baseReportParmaeters, IPromptSelections promptSelections) { var parameterValuesToReturn = new List<ParameterValue>(); var baseReportPrompts = _baseReportInterpreter.Get(baseReportParmaeters); foreach (var parameterValueBuilder in baseReportPrompts) { var promptParmaeterValues = promptSelections.CreateParameterValuesFor(parameterValueBuilder); parameterValuesToReturn.AddRange(promptParmaeterValues); } return parameterValuesToReturn.ToArray(); }