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