Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 |
|
---|
7 | namespace 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.