43 references to Build
Microsoft.AspNetCore.Components.Tests (43)
Routing\RouteTableFactoryTests.cs (43)
173var routeTable = new TestRouteTableBuilder().AddRoute("/").Build(); 187var routeTable = new TestRouteTableBuilder().AddRoute("/literal").Build(); 201var routeTable = new TestRouteTableBuilder().AddRoute("/some/awesome/route/").Build(); 215var routeTable = new TestRouteTableBuilder().AddRoute("/some/AWESOME/route/").Build(); 229var routeTable = new TestRouteTableBuilder().AddRoute("/some/ünicõdē/🛣/").Build(); 243var routeTable = new TestRouteTableBuilder().AddRoute("/some/AWESOME/route/").Build(); 265var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 281var routeTable = new TestRouteTableBuilder().AddRoute("/some/awesome/route/").Build(); 300var routeTable = new TestRouteTableBuilder().AddRoute("/{parameter}").Build(); 317var routeTable = new TestRouteTableBuilder().AddRoute("/blog/{*parameter}").Build(); 332var routeTable = new TestRouteTableBuilder().AddRoute("/{some}/awesome/{route}/").Build(); 353var routeTable = new TestRouteTableBuilder().AddRoute("/{some}/awesome/{route}/with/{*catchAll}").Build(); 391var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 442var table = builder.Build(); 464.Build(); 487.Build(); 507.Build(); 527.Build(); 551.Build(); 585.Build(); 623.Build(); 645.Build(); 664var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 694var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 720var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 750var routeTable = new TestRouteTableBuilder().AddRoute(template).Build(); 770.Build(); 788.Build(); 806.Build()); 823.Build()); 838.Build()); 850.Build()); 889var 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(); 1015var routeTable = builder.Build(); 1046.AddRoute(right).Build()); 1062.AddRoute(right).Build(); 1076.Build();