public override void Compute()
        {
            TLExperimentsResultsCollection allExperimentResults = (TLExperimentsResultsCollection)Workspace.Load("results");

            if (allExperimentResults == null)
            {
                throw new ComponentException("Received null results");
            }

            if ( allExperimentResults != null && allExperimentResults.Count > 0 )
            {
                SortedDictionary<string, Dictionary<string, Chart>> allResults = ResultsVisualizationHelper.ProcessResults(allExperimentResults);

                if (allResults != null && allResults.Count > 0)
                {
                    ResultsVisualizationWindow resultsWindow = new ResultsVisualizationWindow(allResults);
                    resultsWindow.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
                    resultsWindow.ShowDialog();
                }
                else
                {
                    throw new ComponentException("Results could not be displayed because no metrics were found. Check selection on Metric Computation Component.");
                }
            }
            else
            {
                throw new ComponentException("Results could not be displayed because TLExperimentsResultsCollection is null or empty.");
            }
        }
        public override void Compute()
        {
            TLExperimentsResultsCollection allExperimentResults = (TLExperimentsResultsCollection)Workspace.Load("results");

            if (allExperimentResults == null)
            {
                throw new ComponentException("Received null results");
            }

            if (allExperimentResults != null && allExperimentResults.Count > 0)
            {
                SortedDictionary <string, Dictionary <string, Chart> > allResults = ResultsVisualizationHelper.ProcessResults(allExperimentResults);

                if (allResults != null && allResults.Count > 0)
                {
                    ResultsVisualizationWindow resultsWindow = new ResultsVisualizationWindow(allResults);
                    resultsWindow.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
                    resultsWindow.ShowDialog();
                }
                else
                {
                    throw new ComponentException("Results could not be displayed because no metrics were found. Check selection on Metric Computation Component.");
                }
            }
            else
            {
                throw new ComponentException("Results could not be displayed because TLExperimentsResultsCollection is null or empty.");
            }
        }