4 writes to Values
Microsoft.AspNetCore.Mvc.Core (2)
Routing\UrlHelperBase.cs (1)
59
Values
= values,
UrlHelperExtensions.cs (1)
342
Values
= values,
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTestBase.cs (1)
574
Values
= new
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
RemoteAttribute.cs (1)
118
Values
= RouteData,
32 references to Values
Microsoft.AspNetCore.Mvc.Core (3)
Routing\EndpointRoutingUrlHelper.cs (1)
84
routeContext.
Values
,
Routing\UrlHelper.cs (2)
68
var valuesDictionary = routeContext.
Values
as RouteValueDictionary ?? GetValuesDictionary(routeContext.
Values
);
Microsoft.AspNetCore.Mvc.Core.Test (21)
RedirectToPageResultTest.cs (4)
112
Assert.Collection(Assert.IsType<RouteValueDictionary>(context.
Values
),
166
Assert.Collection(Assert.IsType<RouteValueDictionary>(context.
Values
),
228
Assert.Collection(Assert.IsType<RouteValueDictionary>(context.
Values
),
279
Assert.Collection(Assert.IsType<RouteValueDictionary>(context.
Values
),
Routing\UrlHelperExtensionsTest.cs (17)
41
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
89
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
121
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
153
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
185
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
235
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
284
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
327
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
375
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
418
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
453
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
480
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
524
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
587
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
).OrderBy(v => v.Key),
743
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
791
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
839
Assert.Collection(Assert.IsType<RouteValueDictionary>(actual.
Values
),
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
FormActionTagHelperTest.cs (4)
121
.Returns<UrlRouteContext>(c => $"{c.RouteName}/{(c.
Values
as RouteValueDictionary)["name"]}");
283
Assert.Equal<KeyValuePair<string, object>>(expectedRouteValues, param.
Values
as RouteValueDictionary);
410
.Callback<UrlRouteContext>(param => Assert.Equal(expectedRouteValues, param.
Values
as RouteValueDictionary))
460
var rvd = Assert.IsType<RouteValueDictionary>(routeContext.
Values
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
PageRemoteAttributeTest.cs (1)
261
RouteValues = routeContext.
Values
;
RemoteAttributeTest.cs (1)
541
RouteValues = routeContext.
Values
;
Rendering\HtmlHelperFormTest.cs (1)
283
context.
Values
== routeValues &&
Rendering\HtmlHelperLinkGenerationTest.cs (1)
138
GetRouteValuesAsString(context.
Values
),