Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/03/20 15:13:35 (5 years ago)
Author:
dpiringe
Message:

#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:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Models/JsonItems.cs

    r17410 r17417  
    77namespace HeuristicLab.JsonInterface {
    88  public class IntJsonItem : JsonItem<int> {}
    9   public class IntArrayJsonItem: JsonItem<int[], int> {}
     9  public class IntArrayJsonItem: JsonItem<int[], int> { }
     10  public class IntMatrixJsonItem : JsonItem<int[][], int> { }
    1011
    1112  public class DoubleJsonItem: JsonItem<double> {}
    12   public class DoubleArrayJsonItem: JsonItem<double[], double> {}
     13  public class DoubleArrayJsonItem: JsonItem<double[], double> { }
     14  public class DoubleMatrixJsonItem : JsonItem<double[][], double> { }
    1315
    14   public class BoolJsonItem: JsonItem<bool> {}
     16  public class BoolJsonItem: JsonItem<bool> { }
     17  public class BoolArrayJsonItem : JsonItem<bool[], bool> { }
     18  public class BoolMatrixJsonItem : JsonItem<bool[][], bool> { }
    1519
    1620  public class StringJsonItem: JsonItem<string> {}
Note: See TracChangeset for help on using the changeset viewer.