Changeset 17843 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItems/JsonItem.cs
- Timestamp:
- 02/23/21 16:36:44 (8 weeks ago)
- File:
-
- 1 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() {
Note: See TracChangeset
for help on using the changeset viewer.