2 instantiations of SegmentHierarchyNode
System.ServiceModel (2)
System\ServiceModel\Channels\UriPrefixTable.cs (2)
37
this.root = new
SegmentHierarchyNode
<TItem>(null, useWeakReferences);
224
next = new
SegmentHierarchyNode
<TItem>(path[i], useWeakReferences);
17 references to SegmentHierarchyNode
System.ServiceModel (17)
System\ServiceModel\Channels\UriPrefixTable.cs (17)
19
SegmentHierarchyNode
<TItem> root;
80
SegmentHierarchyNode
<TItem> node;
135
SegmentHierarchyNode
<TItem> node = FindDataNode(
157
SegmentHierarchyNode
<TItem> node = FindOrCreateNode(key);
189
SegmentHierarchyNode
<TItem> FindDataNode(string[] path, out bool exactMatch)
194
SegmentHierarchyNode
<TItem> current = this.root;
195
SegmentHierarchyNode
<TItem> result = null;
198
SegmentHierarchyNode
<TItem> next;
213
SegmentHierarchyNode
<TItem> FindOrCreateNode(BaseUriWithWildcard baseUri)
218
SegmentHierarchyNode
<TItem> current = this.root;
221
SegmentHierarchyNode
<TItem> next;
420
Dictionary<string,
SegmentHierarchyNode
<TData>> children;
428
this.children = new Dictionary<string,
SegmentHierarchyNode
<TData>>(StringComparer.OrdinalIgnoreCase);
473
public void SetChildNode(string name,
SegmentHierarchyNode
<TData> node)
486
foreach (
SegmentHierarchyNode
<TData> child in this.children.Values)
492
public bool TryGetChild(string segment, out
SegmentHierarchyNode
<TData> value)
511
SegmentHierarchyNode
<TData> node;