Last change
on this file since 17530 was
17519,
checked in by dpiringe, 5 years ago
|
#3026:
- added error output for failed runner initialization
- reorganised some final view models
- TargetedJsonItemType (in JsonItemVMBase) now automatically returns the type of the defined JsonItem
- code cleanup
- refactored RegressionProblemDataConverter
- added lots of comments
- added new view for StringArrayJsonItem
- added new UI component for concrete restricted items and used it in JsonItemConcreteItemArrayControl and JsonItemValidValuesControl
|
File size:
458 bytes
|
Line | |
---|
1 | using Newtonsoft.Json.Linq;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.JsonInterface {
|
---|
4 | public class LookupJsonItem : JsonItem, ILookupJsonItem {
|
---|
5 | public virtual string ActualName { get; set; }
|
---|
6 |
|
---|
7 | public override void SetJObject(JObject jObject) {
|
---|
8 | base.SetJObject(jObject);
|
---|
9 | ActualName = jObject[nameof(ILookupJsonItem.ActualName)]?.ToString();
|
---|
10 | }
|
---|
11 |
|
---|
12 | protected override ValidationResult Validate() => ValidationResult.Successful();
|
---|
13 | }
|
---|
14 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.