3 instantiations of RequestMetadataTrieNode
Microsoft.Extensions.Http.Diagnostics (3)
Http\DownstreamDependencyMetadataManager.cs (3)
96
routeMetadataTrieRoot = new
RequestMetadataTrieNode
();
136
trieCurrent.Nodes[ch] ??=
new
();
160
trieCurrent.Nodes[ch] ??=
new
();
15 references to RequestMetadataTrieNode
Microsoft.Extensions.Http.Diagnostics (15)
Http\DownstreamDependencyMetadataManager.cs (12)
32
Dictionary<string,
RequestMetadataTrieNode
> dependencyTrieMap = [];
92
private static void AddRouteToTrie(RequestMetadata routeMetadata, Dictionary<string,
RequestMetadataTrieNode
> dependencyTrieMap)
94
if (!dependencyTrieMap.TryGetValue(routeMetadata.DependencyName, out
var
routeMetadataTrieRoot))
100
var
trieCurrent = routeMetadataTrieRoot;
171
private static Dictionary<string, ProcessedMetadata> ProcessDownstreamDependencyMetadata(Dictionary<string,
RequestMetadataTrieNode
> dependencyTrieMap)
188
private static ProcessedMetadata ProcessDownstreamDependencyMetadataInternal(
RequestMetadataTrieNode
requestMetadataTrieRoot)
190
Queue<
RequestMetadataTrieNode
> queue = new();
196
var
trieNode = queue.Dequeue();
200
var
node = trieNode.Nodes[i];
231
var
trieNode = queue.Dequeue();
234
var
node = trieNode.Nodes[i];
276
private void AddDependency(IDownstreamDependencyMetadata downstreamDependencyMetadata, Dictionary<string,
RequestMetadataTrieNode
> dependencyTrieMap)
Http\RequestMetadataTrieNode.cs (3)
17
public
RequestMetadataTrieNode
? Parent { get; set; }
24
public
RequestMetadataTrieNode
[] Nodes { get; } = new
RequestMetadataTrieNode
[Constants.ASCIICharCount];