Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/LookupJsonItemVM.cs @ 17477

Last change on this file since 17477 was 17473, checked in by dpiringe, 4 years ago

#3026:

  • refactored inheritance structure of json items, now the default JsonItem is an abstract class without properties Value and Range -> splitted up into new interfaces
  • updated view models for new json item structure
  • updated SingleLineArrayJsonWriter
File size: 645 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6using System.Windows.Forms;
7
8namespace HeuristicLab.JsonInterface.OptimizerIntegration {
9  public class LookupJsonItemVM : JsonItemVMBase<LookupJsonItem>, ILookupJsonItemVM {
10    public override Type TargetedJsonItemType => typeof(LookupJsonItem);
11
12    public override UserControl Control => new LookupJsonItemControl(this);
13
14    public string ActualName {
15      get => Item.ActualName;
16      set {
17        Item.ActualName = value;
18        OnPropertyChange(this, nameof(ActualName));
19      }
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.