Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/ResultItemVM.cs @ 17843

Last change on this file since 17843 was 17843, checked in by dpiringe, 3 years ago

#3026

  • removed property ConvertableType from all converters
  • removed the option to fixate or loosen the path of JsonItems (obsolete)
  • added a abstract formatter SymbolicRegressionSolutionFormatterBase as base formatter for ISymbolicRegressionSolution
  • unified the construction of exporter controls
  • code cleanup
File size: 554 bytes
Line 
1using System;
2using System.Windows.Forms;
3
4namespace HeuristicLab.JsonInterface.OptimizerIntegration {
5  public class ResultItemVM : JsonItemVMBase<ResultJsonItem> {
6    public override Type TargetedJsonItemType => typeof(ResultJsonItem);
7    public override UserControl Control => ResultJsonItemControl.Create(this);
8
9    public string ResultFormatterType {
10      get => Item.ResultFormatterType;
11      set {
12        Item.ResultFormatterType = value;
13        OnPropertyChange(this, nameof(ResultFormatterType));
14      }
15    }
16  }
17}
Note: See TracBrowser for help on using the repository browser.