2 implementations of RouteData
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\MvcRouteHandlerTests.cs (1)
122
public RouteData
RouteData
{ get; set; }
Microsoft.AspNetCore.Routing (1)
RoutingFeature.cs (1)
12
public RouteData?
RouteData
{ get; set; }
5 references to RouteData
Microsoft.AspNetCore.Routing.Abstractions (1)
RoutingHttpContextExtensions.cs (1)
26
return routingFeature?.
RouteData
?? new RouteData(httpContext.Request.RouteValues);
Microsoft.AspNetCore.Routing.Tests (4)
RouterMiddlewareTest.cs (4)
40
Assert.Single(routingFeature.
RouteData
.Values);
42
Assert.True(routingFeature.
RouteData
.Values.ContainsKey("id"));
44
Assert.Equal("10", routingFeature.
RouteData
.Values["id"]);
47
Assert.Same(routingFeature.
RouteData
, context.GetRouteData());