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