Changeset 6597


Ignore:
Timestamp:
07/26/11 11:23:09 (8 years ago)
Author:
mkommend
Message:

#1592: Changed content type of data analsis solution views.

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views
Files:
3 edited

Legend:

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

    r6596 r6597  
    2727namespace HeuristicLab.Problems.DataAnalysis.Views {
    2828  [View("ClassificationSolution View")]
    29   [Content(typeof(ClassificationSolution), true)]
     29  [Content(typeof(ClassificationSolutionBase), true)]
    3030  public partial class ClassificationSolutionView : DataAnalysisSolutionView {
    3131    public ClassificationSolutionView() {
     
    3737    }
    3838
    39     public new ClassificationSolution Content {
    40       get { return (ClassificationSolution)base.Content; }
     39    public new ClassificationSolutionBase Content {
     40      get { return (ClassificationSolutionBase)base.Content; }
    4141      set { base.Content = value; }
    4242    }
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DiscriminantFunctionClassificationSolutionView.cs

    r6596 r6597  
    2727namespace HeuristicLab.Problems.DataAnalysis.Views {
    2828  [View("DiscriminantFunctionClassificationSolution View")]
    29   [Content(typeof(DiscriminantFunctionClassificationSolution), true)]
     29  [Content(typeof(DiscriminantFunctionClassificationSolutionBase), true)]
    3030  public partial class DiscriminantFunctionClassificationSolutionView : DataAnalysisSolutionView {
    3131    public DiscriminantFunctionClassificationSolutionView() {
     
    4242    }
    4343
    44     public new DiscriminantFunctionClassificationSolution Content {
    45       get { return (DiscriminantFunctionClassificationSolution)base.Content; }
     44    public new DiscriminantFunctionClassificationSolutionBase Content {
     45      get { return (DiscriminantFunctionClassificationSolutionBase)base.Content; }
    4646      set { base.Content = value; }
    4747    }
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.cs

    r6596 r6597  
    2727namespace HeuristicLab.Problems.DataAnalysis.Views {
    2828  [View("RegressionSolution View")]
    29   [Content(typeof(RegressionSolution), true)]
     29  [Content(typeof(RegressionSolutionBase), true)]
    3030  public partial class RegressionSolutionView : DataAnalysisSolutionView {
    3131    public RegressionSolutionView() {
     
    3737    }
    3838
    39     public new RegressionSolution Content {
    40       get { return (RegressionSolution)base.Content; }
     39    public new RegressionSolutionBase Content {
     40      get { return (RegressionSolutionBase)base.Content; }
    4141      set { base.Content = value; }
    4242    }
Note: See TracChangeset for help on using the changeset viewer.