Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/22/19 17:32:52 (5 years ago)
Author:
dpiringe
Message:

#3026

  • in JsonItem:
    • renamed property Default to Value
    • removed usage of Reference for ValueLookupParameter
    • created new property ActualName for the actual name and using property Value for the value of an ValueLookupParameter
  • fixed a bug in ValueTypeMatrixConverter -> now it correctly resizes ValueTypeMatrix<T>
  • fixed a bug in ValueParameterConverter -> when ActualValue is null, but there is data for it, a new instance will get created
File:
1 edited

Legend:

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

    r17287 r17342  
    1111      new JsonItem() {
    1212        Name = value.Name,
    13         Default = value.Cast<ILookupParameter>().ActualName
     13        ActualName = value.Cast<ILookupParameter>().ActualName
    1414      };
    1515
    1616    public override void InjectData(IParameter parameter, JsonItem data) =>
    17       parameter.Cast<ILookupParameter>().ActualName = data.Default.Cast<string>();
    18    
     17      parameter.Cast<ILookupParameter>().ActualName = data.ActualName.Cast<string>();
    1918  }
    2019}
Note: See TracChangeset for help on using the changeset viewer.