private static void RenderQueryResults(IReadOnlyCollection <ReportQueryResult> queryResults, ITemplate template) { if (queryResults == null) { return; } foreach (var queryResult in queryResults) { template.Add(queryResult.Key, queryResult.Result.Items); } }
private static void RenderParameters(IReadOnlyDictionary <string, object> parameterValues, ITemplate template) { if (parameterValues == null) { return; } foreach (var parameter in parameterValues) { template.Add(parameter.Key, parameter.Value); } }