28 references to CreateContext
Microsoft.AspNetCore.Routing.Tests (28)
Tree\LinkGenerationDecisionTreeTest.cs (28)
23var context = CreateContext(new { });
43var context = CreateContext(new { });
63var context = CreateContext(new { controller = "Store", action = "Buy" });
83var context = CreateContext(values: null, ambientValues: new { controller = "Store", action = "Buy" });
105var context = CreateContext(
129var context = CreateContext(
153var context = CreateContext(new { controller = "Store", action = "AddToCart" });
173var context = CreateContext(
198var context = CreateContext(
224var context = CreateContext(
250var context = CreateContext(new { controller = "Store", action = "Buy", slug = "1234" });
277var context = CreateContext(new { controller = "Store", action = "Buy" });
303var context = CreateContext(new { controller = "Store", action = "Buy" });
329var context = CreateContext(new { controller = "Store", action = "Buy" });
354var context = CreateContext(new { controller = "Store", action = "Buy", area = "Admin" });
382var context = CreateContext(new { controller = "Store", }, new { action = "Buy", area = "Admin", });
410var context = CreateContext(new { }, new { controller = "Store", action = "Buy", area = "Admin", });
438var context = CreateContext(new { page = "/Store/Buy", area = "Admin" });
465var context = CreateContext(new { page = "/Store/Buy", }, new { area = "Admin", });
493var context = CreateContext(new { }, new { page = "/Store/Buy", area = "Admin", });
521var context = CreateContext(new { controller = "Home", action = "Index", }, new { page = "/Store/Buy", });
548var context = CreateContext(new { controller = "Home", action = "Index", }, new { page = "/Store/Buy", area = "Admin", });
575var context = CreateContext(new { controller = "Home", action = "Index", page = "16", }, new { page = "/Store/Buy", });
600var context = CreateContext(new { controller = "Home", action = "Index", page = "/Store/Buy", }, new { page = "/Store/Buy", });
625var context = CreateContext(new { page = "/Store/Buy", }, new { controller = "Home", action = "Index", });
652var context = CreateContext(new { page = "/Store/Buy", }, new { controller = "Home", action = "Index", area = "Admin", });
679var context = CreateContext(new { page = "/Store/Buy", action = "buy", }, new { controller = "Home", action = "Index", page = "16", });
704var context = CreateContext(new { page = "/Store/Buy", action = "Index", }, new { controller = "Home", action = "Index", page = "16", });