Implemented interface members:
147 writes to
Microsoft.AspNetCore.Diagnostics.Tests (4)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (9)
Microsoft.AspNetCore.Http.Abstractions.Tests (8)
Microsoft.AspNetCore.Http.Extensions.Tests (24)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Http.Tests (1)
Microsoft.AspNetCore.Mvc.Core (21)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.Razor.Test (5)
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (1)
Microsoft.AspNetCore.Mvc.TagHelpers (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
Microsoft.AspNetCore.OutputCaching.Tests (10)
Microsoft.AspNetCore.Routing (8)
Microsoft.AspNetCore.Routing.Abstractions (2)
Microsoft.AspNetCore.Routing.Microbenchmarks (3)
Microsoft.AspNetCore.Routing.Tests (21)
Mvc.RoutingWebSite (11)
224 references to
DefaultBuilder.SampleApp (5)
Program.cs (5)
45.MapGet("hello/{name}", (req, res, data) => res.WriteAsync($"Hello, {data.Values["name"]}"))
46.MapGet("goodbye/{name}", (req, res, data) => res.WriteAsync($"Goodbye, {data.Values["name"]}"))
47.MapGet("throw/{message?}", (req, res, data) => throw new Exception((string)data.Values["message"] ?? "Uh oh!"))
48.MapGet("{greeting}/{name}", (req, res, data) => res.WriteAsync($"{data.Values["greeting"]}, {data.Values["name"]}"))
Microsoft.AspNetCore.Diagnostics.Tests (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (8)
Microsoft.AspNetCore.Http.Abstractions.Tests (11)
Microsoft.AspNetCore.Http.Microbenchmarks (6)
Microsoft.AspNetCore.Http.Tests (2)
Microsoft.AspNetCore.Mvc.Core (5)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (1)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (13)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.Routing.Abstractions (1)
Microsoft.AspNetCore.Routing.FunctionalTests (5)
Microsoft.AspNetCore.Routing.Microbenchmarks (3)
Microsoft.AspNetCore.Routing.Tests (146)
Patterns\RoutePatternMatcherTest.cs (43)
24Assert.Equal("Bank", values["controller"]);
25Assert.Equal("DoAction", values["action"]);
26Assert.Equal("123", values["id"]);
57Assert.Equal("Bank", values["controller"]);
58Assert.Equal("DoAction", values["action"]);
59Assert.Equal("default id", values["id"]);
90Assert.Equal("111", values["p1"]);
91Assert.Equal("222", values["p2"]);
107Assert.Equal("111", values["p1"]);
108Assert.Equal("default p2", values["p2"]);
165Assert.Equal(p1, values["p1"]);
169Assert.Equal(p2, values["p2"]);
198Assert.Equal(p1, values["p1"]);
202Assert.Equal(p2, values["p2"]);
207Assert.Equal(p3, values["p3"]);
314Assert.Equal("moo", values["p1"]);
315Assert.Equal("bar", values["p2"]);
399Assert.Equal("v1", values["p1"]);
400Assert.Null(values["p2"]);
401Assert.Equal("bar", values["foo"]);
420Assert.Equal("blog", values["controller"]);
421Assert.Equal("showpost", values["action"]);
422Assert.Equal("2007", values["y"]);
423Assert.Equal("08", values["m"]);
424Assert.Null(values["d"]);
708Assert.Equal("v1", values["p1"]);
709Assert.Equal("v2/v3", values["p2"]);
726Assert.Equal("v1", values["p1"]);
727Assert.Null(values["p2"]);
744Assert.Equal("v1", values["p1"]);
745Assert.Null(values["p2"]);
762Assert.Equal("v1", values["p1"]);
763Assert.Equal("hello", values["p2"]);
780Assert.Equal("v1", values["p1"]);
781Assert.Equal("catchall", values["p2"]);
798Assert.Equal("v1", values["p1"]);
799Assert.Equal("hello/whatever", values["p2"]);
911Assert.Equal("Home", values["controller"]);
912Assert.Equal("Index", values["action"]);
930Assert.Equal("Home", values["controller"]);
984Assert.Equal("Home", values["controller"]);
985Assert.Equal("Index", values["action"]);
1124Assert.Equal(expected[key], values[key]);
RouteTest.cs (27)
96Assert.Equal("USA", context.RouteData.Values["country"]);
98Assert.Equal("5", context.RouteData.Values["id"]);
101Assert.Equal("Contoso", context.RouteData.DataTokens["company"]);
102Assert.Equal("Friday", context.RouteData.DataTokens["today"]);
157Assert.Equal("USA", context.RouteData.Values["country"]);
159Assert.Equal("5", context.RouteData.Values["id"]);
161Assert.Equal("Contoso", context.RouteData.DataTokens["company"]);
162Assert.Equal("Friday", context.RouteData.DataTokens["today"]);
204Assert.Equal("5", context.RouteData.Values["id"]);
246Assert.Equal("123-456-7890", context.RouteData.Values["ssn"]);
338Assert.Equal("5", context.RouteData.Values["id"]);
392Assert.Equal("Home", context.RouteData.Values["controller"]);
393Assert.Equal("Index", context.RouteData.Values["action"]);
424Assert.Equal("Home", context.RouteData.Values["controller"]);
425Assert.Equal("Index", context.RouteData.Values["action"]);
511Assert.Null(context.RouteData.Values["1controller"]);
527Assert.Equal("Home", context.RouteData.Values["controller"]);
528Assert.Equal("Create", context.RouteData.Values["action"]);
529Assert.Equal("xml", context.RouteData.Values["format"]);
545Assert.Equal("Home", context.RouteData.Values["controller"]);
546Assert.Equal("Create", context.RouteData.Values["action"]);
562Assert.Equal("Home", context.RouteData.Values["controller"]);
563Assert.Equal("Create", context.RouteData.Values["action"]);
564Assert.Equal("xml", context.RouteData.Values["format"]);
792Assert.Equal(dataToken.Value, pathData.DataTokens[dataToken.Key]);
831Assert.Equal(dataToken.Value, pathData.DataTokens[dataToken.Key]);
1582Assert.Equal(expectedDictionary[expectedKey], templateRoute.DataTokens[expectedKey]);
Template\TemplateMatcherTests.cs (43)
23Assert.Equal("Bank", values["controller"]);
24Assert.Equal("DoAction", values["action"]);
25Assert.Equal("123", values["id"]);
56Assert.Equal("Bank", values["controller"]);
57Assert.Equal("DoAction", values["action"]);
58Assert.Equal("default id", values["id"]);
89Assert.Equal("111", values["p1"]);
90Assert.Equal("222", values["p2"]);
106Assert.Equal("111", values["p1"]);
107Assert.Equal("default p2", values["p2"]);
164Assert.Equal(p1, values["p1"]);
168Assert.Equal(p2, values["p2"]);
197Assert.Equal(p1, values["p1"]);
201Assert.Equal(p2, values["p2"]);
206Assert.Equal(p3, values["p3"]);
313Assert.Equal("moo", values["p1"]);
314Assert.Equal("bar", values["p2"]);
398Assert.Equal("v1", values["p1"]);
399Assert.Null(values["p2"]);
400Assert.Equal("bar", values["foo"]);
419Assert.Equal("blog", values["controller"]);
420Assert.Equal("showpost", values["action"]);
421Assert.Equal("2007", values["y"]);
422Assert.Equal("08", values["m"]);
423Assert.Null(values["d"]);
707Assert.Equal("v1", values["p1"]);
708Assert.Equal("v2/v3", values["p2"]);
725Assert.Equal("v1", values["p1"]);
726Assert.Null(values["p2"]);
743Assert.Equal("v1", values["p1"]);
744Assert.Null(values["p2"]);
761Assert.Equal("v1", values["p1"]);
762Assert.Equal("hello", values["p2"]);
779Assert.Equal("v1", values["p1"]);
780Assert.Equal("catchall", values["p2"]);
797Assert.Equal("v1", values["p1"]);
798Assert.Equal("hello/whatever", values["p2"]);
910Assert.Equal("Home", values["controller"]);
911Assert.Equal("Index", values["action"]);
929Assert.Equal("Home", values["controller"]);
983Assert.Equal("Home", values["controller"]);
984Assert.Equal("Index", values["action"]);
1123Assert.Equal(expected[key], values[key]);
Tree\TreeRouterTest.cs (24)
56Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
117Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
164Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
216Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
259Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
394Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
541Assert.Equal(expectedResult, context.RouteData.Values["path"]);
563Assert.Null(context.RouteData.Values["path"]);
586Assert.Equal("existing-value", context.RouteData.Values["path"]);
609Assert.Equal("default", context.RouteData.Values["path"]);
638Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
666Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
695Assert.Equal(expectedRouteGroup, context.RouteData.Values["test_route_group"]);
745Assert.Equal(p1, context.RouteData.Values["p1"]);
749Assert.Equal(p2, context.RouteData.Values["p2"]);
753Assert.Equal(p3, context.RouteData.Values["p3"]);
1712Assert.Equal("Bar", context.RouteData.Values["path"]);
1732Assert.Equal("default", context.RouteData.Values["path"]);
1805Assert.Equal("Index", context.RouteData.Values["action"]);
1806Assert.Equal("Index", nestedValues["action"]);
1847Assert.Equal("Index", context.RouteData.Values["action"]);
1848Assert.Equal("Index", nestedValues["action"]);
1891Assert.Equal("examplecategory", nestedValues["category2"]);
1892Assert.Equal("exampleproduct", nestedValues["product"]);
Microsoft.AspNetCore.StaticAssets (1)
Mvc.RoutingWebSite (3)
RoutingSandbox (1)
RoutingWebSite (4)