/// <summary> /// Add Columns to AnalysisResult object /// </summary> /// <param name="result"> /// <see cref="AnalysisResult"/> object /// </param> /// <returns> /// <see cref="AnalysisResult"/> updated object /// </returns> private AnalysisResult AddAnalysisResultColumns(AnalysisResult result) { foreach (AnalysisProcessingResultColumn resultColumn in resultColumns) { var col = new AnalysisColumn(resultColumn.ResultColumn, xCategoryArray); result.AddColumn(col); } return(result); }