10 references to PolicyJumpTableEdge
Microsoft.AspNetCore.Routing (1)
Matching\DfaMatcherBuilder.cs (1)
641policyEntries[index++] = new PolicyJumpTableEdge(kvp.Key, Transition(kvp.Value));
Microsoft.AspNetCore.Routing.Tests (9)
Matching\AcceptsMatcherPolicyTest.cs (8)
289new PolicyJumpTableEdge(string.Empty, 0), 290new PolicyJumpTableEdge("*/*", 1), 291new PolicyJumpTableEdge("application/*", 2), 292new PolicyJumpTableEdge("text/*", 3), 293new PolicyJumpTableEdge("application/*+xml", 4), 294new PolicyJumpTableEdge("application/*+json", 5), 295new PolicyJumpTableEdge("application/json", 6), 296new PolicyJumpTableEdge("application/xml", 7),
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (1)
625var table = policy.BuildJumpTable(-100, edges.Select((e, i) => new PolicyJumpTableEdge(e.State, i + 1)).ToArray());