1 write to _children
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
88
_children
= new Dictionary<TKey, Tree<TKey, TValue>>();
16 references to _children
Microsoft.ML.Core (16)
Utilities\Tree.cs (16)
52
get { return
_children
[key]; }
70
public ICollection<TKey> Keys { get { return
_children
.Keys; } }
74
public ICollection<Tree<TKey, TValue>> Values { get { return
_children
.Values; } }
79
public int Count { get { return
_children
.Count; } }
100
return
_children
.TryGetValue(key, out value);
116
return
_children
.ContainsKey(key);
121
return item.Value != null && item.Value._parent == this &&
_children
.Comparer.Equals(item.Key, item.Value.Key);
144
if (
_children
.TryGetValue(key, out child))
151
_children
.Add(key, newChild);
164
Contracts.Assert(_parent.
_children
.ContainsKey(Key));
165
_parent.
_children
.Remove(Key);
178
if (!
_children
.TryGetValue(key, out child))
198
foreach (var child in
_children
.Values)
203
_children
.Clear();
208
return
_children
.GetEnumerator();
218
IDictionary<TKey, Tree<TKey, TValue>> d =
_children
;