Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/StringValueVM.cs @ 17412

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

#3026 code cleanup

File size: 585 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.JsonInterface.OptimizerIntegration {
8  public class StringValueVM : JsonItemVMBase {
9    public override Type JsonItemType => typeof(StringJsonItem);
10    public override JsonItemBaseControl GetControl() =>
11       new JsonItemValidValuesControl(this);
12
13    public string Value {
14      get => Item.Value.ToString();
15      set {
16        Item.Value = value;
17        OnPropertyChange(this, nameof(Value));
18      }
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.