8 references to CreateEndpoint
Microsoft.AspNetCore.Routing.Tests (8)
Matching\FullFeaturedMatcherConformanceTest.cs (7)
39
var endpoint =
CreateEndpoint
("/a/{b}/{c}", new { b = "17", c = "18", });
54
var endpoint =
CreateEndpoint
("/a/{b}/{c}", new { b = "17", c = "18", d = "19" });
339
var expected =
CreateEndpoint
(template1);
340
var other =
CreateEndpoint
(template2);
373
var expected =
CreateEndpoint
(template1, order: 0);
374
var other =
CreateEndpoint
(template2, order: 1);
428
var endpoints = templates.Select((t) =>
CreateEndpoint
(t)).ToArray();
Matching\MatcherConformanceTest.cs (1)
47
var endpoint =
CreateEndpoint
(template);