50 references to CreateEndpoint
Microsoft.AspNetCore.Routing.Tests (50)
Matching\DfaMatcherTest.cs (50)
67CreateEndpoint("/{p:int}", 0)
88CreateEndpoint("/{p:int}", 0)
117CreateEndpoint(endpoint, 0)
136var endpoint = CreateEndpoint(
175var endpoint = CreateEndpoint(
201var endpoint = CreateEndpoint(
250var endpoint = CreateEndpoint(
280var endpoint1 = CreateEndpoint(
284var endpoint2 = CreateEndpoint(
319var endpoint = CreateEndpoint(
358var endpoint1 = CreateEndpoint("a/c", 0);
359var endpoint2 = CreateEndpoint("{param:length(2)}/b/c", 0);
385var endpoint1 = CreateEndpoint("a/c", 0);
386var endpoint2 = CreateEndpoint("{param:length(2)}/b/c", 0);
412var endpoint1 = CreateEndpoint("a/b/c", 0);
413var endpoint2 = CreateEndpoint("{param:length(2)}/b/c", 0);
439var endpoint1 = CreateEndpoint("aa/b/c", 0);
440var endpoint2 = CreateEndpoint("{param:length(2)}/b/c", 0);
464var endpoint1 = CreateEndpoint("a/b/c", 0);
465var endpoint2 = CreateEndpoint("a/{param:length(2)}/c", 0);
490var endpoint1 = CreateEndpoint("a/b/d", 0);
491var endpoint2 = CreateEndpoint("a/{param:length(2)}/c", 0);
517var endpoint1 = CreateEndpoint("a/b/c", 0);
518var endpoint2 = CreateEndpoint("a/{param:length(2)}/c", 0);
544var endpoint1 = CreateEndpoint("a/bb/c", 0);
545var endpoint2 = CreateEndpoint("a/{param:length(2)}/c", 0);
579var endpoint = CreateEndpoint(
618var higherOrderEndpoint = CreateEndpoint("/Teams", 1);
619var lowerOrderEndpoint = CreateEndpoint("/Teams", 0);
643var endpoint1 = CreateEndpoint("/Teams", 0);
644var endpoint2 = CreateEndpoint("/Teams", 1);
689var endpoint1 = CreateEndpoint("/Teams/{x?}", 0);
690var endpoint2 = CreateEndpoint("/Teams/{x?}", 1);
736var endpoint1 = CreateEndpoint("/Teams", 0, policies: new { x = constraint, });
737var endpoint2 = CreateEndpoint("/Teams", 1, policies: new { x = constraint, });
784CreateEndpoint("/{p:int}", 0)
814CreateEndpoint("/{p:int}", 0)
854CreateEndpoint("/x-{id}-y", 0)
894CreateEndpoint("/{one}", 0),
895CreateEndpoint("/{p:int}", 1),
896CreateEndpoint("/x-{id}-y", 2),
951CreateEndpoint("/test/{id:alpha}", 0),
952CreateEndpoint("/test/{id:int}", 0),
953CreateEndpoint("/test/{id}", 0),
987CreateEndpoint("/test/{id:alpha}", 0),
988CreateEndpoint("/test/{id:int}", 0),
989CreateEndpoint("/test/{id}", 0),
1022CreateEndpoint("/test/{id:alpha}", 0),
1023CreateEndpoint("/test/{id:int}", 0),
1024CreateEndpoint("/test/{id}", 0),