Exemplo n.º 1
0
        public void Add(string key, IFlexNode value)
        {
            if (ReferenceEquals(this.properties, Util.EmptyMap))
            {
                this.properties = new OrderedDictionary <string, IFlexNode>();
            }

            this.properties.Add(key, value);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public bool TryGetValue(string key, [MaybeNullWhen(false)] out IFlexNode value)
 => this.properties.TryGetValue(key, out value);