43 references to Build
Microsoft.AspNetCore.Components.Tests (43)
Routing\RouteTableFactoryTests.cs (43)
173
var routeTable = new TestRouteTableBuilder().AddRoute("/").
Build
();
187
var routeTable = new TestRouteTableBuilder().AddRoute("/literal").
Build
();
201
var routeTable = new TestRouteTableBuilder().AddRoute("/some/awesome/route/").
Build
();
215
var routeTable = new TestRouteTableBuilder().AddRoute("/some/AWESOME/route/").
Build
();
229
var routeTable = new TestRouteTableBuilder().AddRoute("/some/ünicõdē/🛣/").
Build
();
243
var routeTable = new TestRouteTableBuilder().AddRoute("/some/AWESOME/route/").
Build
();
265
var routeTable = new TestRouteTableBuilder().AddRoute(template).
Build
();
281
var routeTable = new TestRouteTableBuilder().AddRoute("/some/awesome/route/").
Build
();
300
var routeTable = new TestRouteTableBuilder().AddRoute("/{parameter}").
Build
();
317
var routeTable = new TestRouteTableBuilder().AddRoute("/blog/{*parameter}").
Build
();
332
var routeTable = new TestRouteTableBuilder().AddRoute("/{some}/awesome/{route}/").
Build
();
353
var routeTable = new TestRouteTableBuilder().AddRoute("/{some}/awesome/{route}/with/{*catchAll}").
Build
();
391
var routeTable = new TestRouteTableBuilder().AddRoute(template).
Build
();
442
var table = builder.
Build
();
464
.
Build
();
487
.
Build
();
507
.
Build
();
527
.
Build
();
551
.
Build
();
585
.
Build
();
623
.
Build
();
645
.
Build
();
664
var routeTable = new TestRouteTableBuilder().AddRoute(template).
Build
();
694
var routeTable = new TestRouteTableBuilder().AddRoute(template).
Build
();
720
var routeTable = new TestRouteTableBuilder().AddRoute(template).
Build
();
750
var routeTable = new TestRouteTableBuilder().AddRoute(template).
Build
();
770
.
Build
();
788
.
Build
();
806
.
Build
());
823
.
Build
());
838
.
Build
());
850
.
Build
());
889
var table = builder.
Build
();
902
.
Build
());
913
.
Build
();
932
.AddRoute("/an/awesome/", handler).
Build
();
944
.AddRoute("/products/{id:int}").
Build
();
965
.
Build
();
984
.AddRoute("/a/brilliant/").
Build
();
1015
var routeTable = builder.
Build
();
1046
.AddRoute(right).
Build
());
1062
.AddRoute(right).
Build
();
1076
.
Build
();