Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/20 10:33:01 (5 years ago)
Author:
dpiringe
Message:

#3026

  • added interfaces IJsonItem and IJsonItemValidator
  • replaced every reference JsonItem with IJsonItem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueLookupParameterConverter.cs

    r17394 r17406  
    1111    public override Type ConvertableType => typeof(IValueLookupParameter);
    1212
    13     public override void Populate(IParameter value, JsonItem item, IJsonItemConverter root) {
     13    public override void Populate(IParameter value, IJsonItem item, IJsonItemConverter root) {
    1414      IValueLookupParameter param = value as IValueLookupParameter;
    1515     
     
    2020      IEnumerable<object> actualRange = null;
    2121      if(param.Value != null) {
    22         JsonItem tmp = root.Extract(param.Value, root);
     22        IJsonItem tmp = root.Extract(param.Value, root);
    2323        tmp.Parent = item;
    2424        actualValue = tmp.Value;
     
    3131    }
    3232
    33     public override void InjectData(IParameter parameter, JsonItem data, IJsonItemConverter root) {
     33    public override void InjectData(IParameter parameter, IJsonItem data, IJsonItemConverter root) {
    3434      IValueLookupParameter param = parameter as IValueLookupParameter;
    3535      param.ActualName = CastValue<string>(data.ActualName);
Note: See TracChangeset for help on using the changeset viewer.