Changeset 17834 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonTemplateInstantiator.cs
- Timestamp:
- 02/12/21 15:24:18 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonTemplateInstantiator.cs
r17828 r17834 81 81 IList<IResultJsonItem> res = new List<IResultJsonItem>(); 82 82 foreach(JObject obj in Template[Constants.Results]) { 83 string name = obj.Property("Name").Value.ToString(); 84 res.Add(new ResultJsonItem() { Name = name }); 83 //string name = obj.Property("Name").Value.ToString(); 84 var resultItem = new ResultJsonItem(); 85 resultItem.SetJObject(obj); 86 res.Add(resultItem); 87 //res.Add(new ResultJsonItem() { Name = name }); 85 88 } 86 89 return res;
Note: See TracChangeset
for help on using the changeset viewer.