- Timestamp:
- 02/23/21 16:36:44 (4 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/JsonItem.cs
r17834 r17843 64 64 public virtual string Description { get; set; } 65 65 66 private string fixedPath = "";67 66 public virtual string Path { 68 67 get { 69 if (!string.IsNullOrWhiteSpace(fixedPath))70 return fixedPath;71 72 68 IJsonItem tmp = Parent; 73 69 StringBuilder builder = new StringBuilder(this.Name); … … 115 111 public IJsonItemValidator GetValidator() => new JsonItemValidator(this); 116 112 117 public void FixatePath() => fixedPath = Path;118 public void LoosenPath() => fixedPath = "";119 120 113 public virtual JObject GenerateJObject() => 121 114 JObject.FromObject(this, new JsonSerializer() { -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/ResultJsonItem.cs
r17834 r17843 1 1 using System; 2 using System.Collections.Generic;3 using System.Linq;4 2 using Newtonsoft.Json.Linq; 5 3
Note: See TracChangeset
for help on using the changeset viewer.