1 instantiation of DecisionTreeNode
Microsoft.AspNetCore.Routing (1)
DecisionTree\DecisionTreeBuilder.cs (1)
189
return new
DecisionTreeNode
<TItem>()
10 references to DecisionTreeNode
Microsoft.AspNetCore.Routing (10)
DecisionTree\DecisionCriterion.cs (1)
12
public Dictionary<object,
DecisionTreeNode
<TItem>> Branches { get; set; }
DecisionTree\DecisionTreeBuilder.cs (4)
73
public static
DecisionTreeNode
<TItem> GenerateTree(IReadOnlyList<TItem> items, IClassifier<TItem> classifier)
95
private static
DecisionTreeNode
<TItem> GenerateNode(
153
var reducedBranches = new Dictionary<object,
DecisionTreeNode
<TItem>>(comparer.InnerComparer);
172
var
newBranch = GenerateNode(childContext, comparer, branch.Value);
Tree\LinkGenerationDecisionTree.cs (5)
23
private readonly
DecisionTreeNode
<OutboundMatch> _root;
111
DecisionTreeNode
<OutboundMatch> node,
134
if (criterion.Branches.TryGetValue(value ?? string.Empty, out
var
branch))
144
DecisionTreeNode
<OutboundMatch> branch;
236
private static void FlattenTree(Stack<string> branchStack, StringBuilder sb,
DecisionTreeNode
<OutboundMatch> node)