- Timestamp:
- 02/20/20 16:58:03 (5 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Models
- Files:
-
- 7 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Models/JsonItem.cs
r17444 r17446 5 5 using System.Text; 6 6 using Newtonsoft.Json; 7 using Newtonsoft.Json.Linq; 7 8 8 9 namespace HeuristicLab.JsonInterface { … … 114 115 public void FixatePath() => fixedPath = Path; 115 116 public void LoosenPath() => fixedPath = ""; 117 118 public virtual void SetFromJObject(JObject jObject) { 119 Value = jObject[nameof(IJsonItem.Value)]?.ToObject<object>(); 120 Range = jObject[nameof(IJsonItem.Range)]?.ToObject<object[]>(); 121 ActualName = jObject[nameof(IJsonItem.ActualName)]?.ToString(); 122 } 116 123 #endregion 117 124
Note: See TracChangeset
for help on using the changeset viewer.