6 overrides of GetDestination
Microsoft.AspNetCore.Routing (6)
Matching\DictionaryJumpTable.cs (1)
29public override int GetDestination(string path, PathSegment segment)
Matching\ILEmitTrieJumpTable.cs (1)
50public override int GetDestination(string path, PathSegment segment)
Matching\LinearSearchJumpTable.cs (1)
25public override int GetDestination(string path, PathSegment segment)
Matching\SingleEntryAsciiJumpTable.cs (1)
30public override int GetDestination(string path, PathSegment segment)
Matching\SingleEntryJumpTable.cs (1)
25public override int GetDestination(string path, PathSegment segment)
Matching\ZeroEntryJumpTable.cs (1)
17public override int GetDestination(string path, PathSegment segment)
25 references to GetDestination
Microsoft.AspNetCore.Routing (3)
Matching\DfaMatcher.cs (1)
220destination = states[destination].PathTransitions.GetDestination(path, segments[i]);
Matching\ILEmitTrieJumpTable.cs (2)
67return _fallback.GetDestination(path, segment); 91result = _fallback.GetDestination(path, segment);
Microsoft.AspNetCore.Routing.Microbenchmarks (9)
Matching\JumpTableMultipleEntryBenchmark.cs (4)
99destination = _linearSearch.GetDestination(strings[i], segments[i]); 114destination = _dictionary.GetDestination(strings[i], segments[i]); 129destination = _trie.GetDestination(strings[i], segments[i]); 144destination = _vectorTrie.GetDestination(strings[i], segments[i]);
Matching\JumpTableSingleEntryBenchmark.cs (4)
88destination = _default.GetDestination(strings[i], segments[i]); 103destination = _ascii.GetDestination(strings[i], segments[i]); 118destination = _trie.GetDestination(strings[i], segments[i]); 133destination = _vectorTrie.GetDestination(strings[i], segments[i]);
Matching\JumpTableZeroEntryBenchmark.cs (1)
60destination = _table.GetDestination(strings[i], segments[i]);
Microsoft.AspNetCore.Routing.Tests (13)
Matching\ILEmitTrieJumpTableTest.cs (4)
93var result = table.GetDestination(path, segment); 154var result = table.GetDestination(path, segment); 218var result = table.GetDestination(path, segment); 243var result = table.GetDestination(segment, pathSegment);
Matching\MultipleEntryJumpTableTest.cs (5)
20var result = table.GetDestination("ignored", new PathSegment(0, 0)); 33var result = table.GetDestination("text", new PathSegment(1, 2)); 46var result = table.GetDestination("some-text", new PathSegment(5, 4)); 59var result = table.GetDestination("some-tExt", new PathSegment(5, 4)); 72var result = table.GetDestination("some-tExt", new PathSegment(5, 4));
Matching\SingleEntryJumpTableTestBase.cs (4)
21var result = table.GetDestination("ignored", new PathSegment(0, 0)); 34var result = table.GetDestination("text", new PathSegment(1, 2)); 47var result = table.GetDestination("some-text", new PathSegment(5, 4)); 60var result = table.GetDestination("some-tExt", new PathSegment(5, 4));