54 references to CreateMatch
Microsoft.AspNetCore.Routing.Tests (54)
Tree\LinkGenerationDecisionTreeTest.cs (54)
18var entry = CreateMatch(new { }); 38var entry = CreateMatch(new { }); 58var entry = CreateMatch(new { controller = "Store", action = "Buy" }); 78var entry = CreateMatch(new { controller = "Store", action = "Buy" }); 100var entry = CreateMatch(new { controller = "Store", action = "Buy" }); 124var entry = CreateMatch(new { controller = "Store", action = (string)null }); 148var entry = CreateMatch(new { controller = "Store", action = "Buy" }); 168var entry = CreateMatch(new { controller = "Store", action = "Buy" }); 190var entry1 = CreateMatch(new { controller = "Store", action = "Buy" }); 193var entry2 = CreateMatch(new { controller = "Store", action = "Cart" }); 215var entry1 = CreateMatch(new { controller = "Store", action = "Buy" }); 218var entry2 = CreateMatch(new { controller = "Store" }); 241var entry1 = CreateMatch(new { controller = "Store", action = "Buy" }); 244var entry2 = CreateMatch(new { slug = "1234" }); 266var entry1 = CreateMatch(new { controller = "Store", action = "Buy" }); 270var entry2 = CreateMatch(new { controller = "Store", action = "Buy" }); 293var entry1 = CreateMatch(new { controller = "Store", action = "Buy" }); 297var entry2 = CreateMatch(new { controller = "Store", action = "Buy" }); 319var entry1 = CreateMatch(new { controller = "Store", action = "Buy" }); 323var entry2 = CreateMatch(new { controller = "Store", action = "Buy" }); 344var entry1 = CreateMatch(new { controller = "Store", action = "Buy", area = (string)null, }); 348var entry2 = CreateMatch(new { controller = "Store", action = "Buy", area = "Admin" }); 372var entry1 = CreateMatch(new { controller = "Store", action = "Buy", area = (string)null, }); 376var entry2 = CreateMatch(new { controller = "Store", action = "Buy", area = "Admin" }); 400var entry1 = CreateMatch(new { controller = "Store", action = "Buy", area = (string)null, }); 404var entry2 = CreateMatch(new { controller = "Store", action = "Buy", area = "Admin" }); 428var entry1 = CreateMatch(new { page = "/Store/Buy", area = (string)null, }); 432var entry2 = CreateMatch(new { page = "/Store/Buy", area = "Admin" }); 455var entry1 = CreateMatch(new { page = "/Store/Buy", area = (string)null, }); 459var entry2 = CreateMatch(new { page = "/Store/Buy", area = "Admin" }); 483var entry1 = CreateMatch(new { page = "/Store/Buy", area = (string)null, }); 487var entry2 = CreateMatch(new { page = "/Store/Buy", area = "Admin" }); 511var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = (string)null, page = (string)null, }); 515var entry2 = CreateMatch(new { page = "/Store/Buy", area = (string)null, controller = (string)null, action = (string)null, }); 538var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = "Admin", page = (string)null, }); 542var entry2 = CreateMatch(new { page = "/Store/Buy", area = "Admin", controller = (string)null, action = (string)null, }); 565var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = (string)null, page = (string)null, }); 569var entry2 = CreateMatch(new { page = "/Store/Buy", area = (string)null, controller = (string)null, action = (string)null, }); 590var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = (string)null, page = (string)null, }); 594var entry2 = CreateMatch(new { page = "/Store/Buy", area = (string)null, controller = (string)null, action = (string)null, }); 615var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = (string)null, page = (string)null, }); 619var entry2 = CreateMatch(new { page = "/Store/Buy", area = (string)null, controller = (string)null, action = (string)null, }); 642var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = "Admin", page = (string)null, }); 646var entry2 = CreateMatch(new { page = "/Store/Buy", area = "Admin", controller = (string)null, action = (string)null, }); 669var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = (string)null, page = (string)null, }); 673var entry2 = CreateMatch(new { page = "/Store/Buy", area = (string)null, controller = (string)null, action = (string)null, }); 694var entry1 = CreateMatch(new { controller = "Home", action = "Index", area = (string)null, page = (string)null, }); 698var entry2 = CreateMatch(new { page = "/Store/Buy", area = (string)null, controller = (string)null, action = (string)null, }); 718entries.Add(CreateMatch(new { action = "Buy", controller = "Store", version = "V1" }, "Store/Buy/V1")); 719entries.Add(CreateMatch(new { action = "Buy", controller = "Store", area = "Admin" }, "Admin/Store/Buy")); 720entries.Add(CreateMatch(new { action = "Buy", controller = "Products" }, "Products/Buy")); 721entries.Add(CreateMatch(new { action = "Buy", controller = "Store", version = "V2" }, "Store/Buy/V2")); 722entries.Add(CreateMatch(new { action = "Cart", controller = "Store" }, "Store/Cart")); 723entries.Add(CreateMatch(new { action = "Index", controller = "Home" }, "Home/Index/{id?}"));