public void Add(string key, IFlexNode value) { if (ReferenceEquals(this.properties, Util.EmptyMap)) { this.properties = new OrderedDictionary <string, IFlexNode>(); } this.properties.Add(key, value); }
public void Insert(int index, string key, IFlexNode value) { if (ReferenceEquals(this.properties, Util.EmptyMap)) { this.properties = new OrderedDictionary <string, IFlexNode>(); } this.properties.Insert(index, key, value); }
public bool TryGetValue(string key, [MaybeNullWhen(false)] out IFlexNode value) => this.properties.TryGetValue(key, out value);