1 write to Branches
Microsoft.AspNetCore.Routing (1)
DecisionTree\DecisionTreeBuilder.cs (1)
182Branches = reducedBranches,
13 references to Branches
Microsoft.AspNetCore.Routing (5)
Tree\LinkGenerationDecisionTree.cs (5)
134if (criterion.Branches.TryGetValue(value ?? string.Empty, out var branch)) 146!criterion.Branches.Comparer.Equals(value, string.Empty)) 148if (criterion.Branches.TryGetValue(value, out branch)) 154if (criterion.Branches.TryGetValue(string.Empty, out branch)) 254foreach (var branch in criterion.Branches)
Microsoft.AspNetCore.Routing.Tests (8)
DecisionTreeBuilderTest.cs (8)
60var admin = Assert.Single(area.Branches); 67var users = Assert.Single(controller.Branches); 74var addUser = Assert.Single(action.Branches); 105var buy = action.Branches["Buy"]; 111var store = Assert.Single(controller.Branches); 116var checkout = action.Branches["Checkout"]; 122store = Assert.Single(controller.Branches); 157var buy = action.Branches["Buy"];