Changeset 6591


Ignore:
Timestamp:
07/25/11 17:23:31 (8 years ago)
Author:
mkommend
Message:

#1600: Corrected compilation error in DiscriminantFunctionClassificeationSolutionEstimatedValuesView.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/DiscriminantFunctionClassificationSolutionView.cs

    r5834 r6591  
    2828  [View("DiscriminantFunctionClassificationSolution View")]
    2929  [Content(typeof(DiscriminantFunctionClassificationSolution), true)]
    30   public partial class DiscriminantFunctionClassificationSolutionView : ClassificationSolutionView {
     30  public partial class DiscriminantFunctionClassificationSolutionView : DataAnalysisSolutionView {
    3131    public DiscriminantFunctionClassificationSolutionView() {
    3232      InitializeComponent();
     33
     34      var classificationSolutionEvaluationViewTypes = ApplicationManager.Manager.GetTypes(typeof(IClassificationSolutionEvaluationView), true);
     35      foreach (Type viewType in classificationSolutionEvaluationViewTypes)
     36        AddViewListViewItem(viewType);
     37      RemoveViewListViewItem(typeof(ClassificationSolutionEstimatedClassValuesView));
    3338
    3439      var regressionSolutionEvaluationViewTypes = ApplicationManager.Manager.GetTypes(typeof(IDiscriminantFunctionClassificationSolutionEvaluationView), true);
    3540      foreach (Type viewType in regressionSolutionEvaluationViewTypes)
    3641        AddViewListViewItem(viewType);
    37 
    38       RemoveViewListViewItem(typeof(ClassificationSolutionEstimatedClassValuesView));
    3942    }
    4043
Note: See TracChangeset for help on using the changeset viewer.