- Timestamp:
- 10/21/19 16:14:49 (5 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ConstrainedValueParameterConverter.cs
r17284 r17339 32 32 return list.ToArray(); 33 33 } 34 // id = kombi aus path + default 34 35 35 private IList<JsonItem> GetParameterizedChilds(IParameter value) { 36 36 List<JsonItem> list = new List<JsonItem>(); … … 39 39 if (x is IParameterizedItem) { 40 40 JsonItem tmp = JsonItemConverter.Extract(x); 41 tmp.PrependPath(value.Name);42 41 list.Add(tmp); 43 42 } -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ParameterizedItemConverter.cs
r17330 r17339 22 22 item.Name = value.ItemName; 23 23 item.Type = value.GetType().AssemblyQualifiedName; 24 item.Path = value.ItemName;25 24 26 25 foreach (var param in value.Cast<IParameterizedItem>().Parameters) { 27 26 JsonItem data = JsonItemConverter.Extract(param); 28 27 data.Name = param.Name; 29 data.Path = data.Name;30 data.PrependPath(item.Path);31 data.UpdatePaths();32 28 33 29 if (item.Parameters == null)
Note: See TracChangeset
for help on using the changeset viewer.