15 references to ReplaceEndpoint
Microsoft.AspNetCore.Mvc.Core (4)
Routing\DynamicControllerEndpointMatcherPolicy.cs (4)
110candidates.ReplaceEndpoint(i, null, null); 127candidates.ReplaceEndpoint(i, null, null); 149candidates.ReplaceEndpoint(i, null, null); 155candidates.ReplaceEndpoint(i, endpoint, values);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
PageLoaderMatcherPolicy.cs (3)
81candidates.ReplaceEndpoint(i, compiled.Result.Endpoint, candidate.Values); 99candidates.ReplaceEndpoint(index, compiled.Endpoint, candidates[index].Values); 116candidates.ReplaceEndpoint(i, compiled.Endpoint, candidates[i].Values);
Microsoft.AspNetCore.Mvc.RazorPages (4)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (4)
110candidates.ReplaceEndpoint(i, null, null); 126candidates.ReplaceEndpoint(i, null, null); 148candidates.ReplaceEndpoint(i, null, null); 154candidates.ReplaceEndpoint(i, endpoint, values);
Microsoft.AspNetCore.Routing (2)
Matching\CandidateSet.cs (2)
232ReplaceEndpoint(index, null, null); 236ReplaceEndpoint(index, endpoints[0], Candidates[index].Values);
Microsoft.AspNetCore.Routing.Tests (2)
Matching\CandidateSetTest.cs (2)
68candidateSet.ReplaceEndpoint(i, endpoint, values); 98candidateSet.ReplaceEndpoint(i, (Endpoint)null, null);