Last change
on this file since 17417 was
17417,
checked in by dpiringe, 5 years ago
|
#3026:
- added initial VM (ArrayValueVM) and control for array values (JsonItemArrayValueControl)
- new types of JsonItems for better type safety:
- for arrays: DoubleArrayJsonItem, IntArrayJsonItem, BoolArrayJsonItem
- for matrix: DoubleMatrixJsonItem, IntMatrixJsonItem, BoolMatrixJsonItem
- refactored ValueTypeArrayConverter and ValueTypeMatrixConverter -> better type safety with new JsonItems
- enhanced StringValueVM and implemented JsonItemValidValuesControl with MVVM architecture
- the VM of JsonItemBaseControl is now protected (was private)
- improved JsonItem<V,R> -> now handles JTokens correctly
|
File size:
408 bytes
|
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 ArrayValueVM : JsonItemVMBase {
|
---|
9 | public override Type JsonItemType => typeof(DoubleArrayJsonItem);
|
---|
10 | public override JsonItemBaseControl GetControl() => new JsonItemArrayValueControl(this);
|
---|
11 | }
|
---|
12 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.