42 references to RouteValueDictionary
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
RouteValueDictionaryTests.cs (1)
164() => new RouteValueDictionary(values),
Microsoft.AspNetCore.Mvc.Core (3)
Routing\ActionConstraintMatcherPolicy.cs (1)
226routeData.PushState(router: null, values: null, dataTokens: new RouteValueDictionary(dataTokens));
Routing\ActionEndpointFactory.cs (2)
298updatedDefaults = new RouteValueDictionary(attributeRoutePattern.Defaults); 531routeData.PushState(router: null, context.Request.RouteValues, new RouteValueDictionary(dataTokens?.DataTokens));
Microsoft.AspNetCore.Mvc.Core.Test (22)
ControllerBaseTest.cs (8)
1416new RouteValueDictionary(expected), null); 1453var result = controller.CreatedAtRoute(new RouteValueDictionary(expected), null); 1474var result = controller.CreatedAtRoute(routeName, new RouteValueDictionary(expected), null); 1610new RouteValueDictionary(expected)); 1632var result = controller.AcceptedAtRoute(new RouteValueDictionary(expected)); 1653var result = controller.AcceptedAtRoute(routeName, new RouteValueDictionary(expected)); 2602new RouteValueDictionary(expected2), 2603new RouteValueDictionary(expected2),
ModelBinding\RouteValueProviderTests.cs (12)
16var values = new RouteValueDictionary(new Dictionary<string, object> 33var values = new RouteValueDictionary(new Dictionary<string, object> 51var values = new RouteValueDictionary(new Dictionary<string, object> 68var values = new RouteValueDictionary(new Dictionary<string, object> 87var values = new RouteValueDictionary(new Dictionary<string, object> 104var values = new RouteValueDictionary(new Dictionary<string, object> 121var values = new RouteValueDictionary(new Dictionary<string, object> 142var values = new RouteValueDictionary(new Dictionary<string, object> 163var values = new RouteValueDictionary(new Dictionary<string, object> 182var values = new RouteValueDictionary(new Dictionary<string, object> 200var values = new RouteValueDictionary(new Dictionary<string, object> 217var values = new RouteValueDictionary(new Dictionary<string, object>
ModelBinding\TestValueProvider.cs (2)
18: base(TestBindingSource, new RouteValueDictionary(values)) 25: base(bindingSource, new RouteValueDictionary(values))
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
PageModelTest.cs (2)
953new RouteValueDictionary(expected2), 954new RouteValueDictionary(expected2),
PageTest.cs (2)
1882new RouteValueDictionary(expected2), 1883new RouteValueDictionary(expected2),
Microsoft.AspNetCore.Routing (5)
DefaultLinkParser.cs (1)
111var matcher = new RoutePatternMatcher(endpoint.RoutePattern, new RouteValueDictionary(endpoint.RoutePattern.Defaults));
Patterns\DefaultRoutePatternTransformer.cs (1)
173updatedDefaults = new RouteValueDictionary(original.Defaults);
RouteValuesAddressScheme.cs (2)
156RequiredLinkValues = new RouteValueDictionary(requiredValues), 161entry.Defaults = new RouteValueDictionary(endpoint.RoutePattern.Defaults);
Template\TemplateBinder.cs (1)
110_defaults = new RouteValueDictionary(pattern.Defaults);
Microsoft.AspNetCore.Routing.Microbenchmarks (4)
EndpointRoutingBenchmarkBase.cs (1)
143requiredLinkValues: new RouteValueDictionary(endpoint.RoutePattern.RequiredValues),
LinkGeneration\LinkGenerationGithubBenchmark.cs (1)
40_lookUpValues = new RouteValueDictionary(endpointToTest.RoutePattern.Defaults);
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
52var defaults = new RouteValueDictionary(endpoint.RoutePattern.Defaults);
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
56var defaults = new RouteValueDictionary(endpoint.RoutePattern.Defaults);
Microsoft.AspNetCore.Routing.Tests (3)
Matching\MatcherAssert.cs (1)
52AssertMatch(httpContext, expected, new RouteValueDictionary(zipped));
Matching\RouteMatcherBuilder.cs (1)
52var defaults = new RouteValueDictionary(endpoint.RoutePattern.Defaults);
Matching\TreeRouterMatcherBuilder.cs (1)
56var defaults = new RouteValueDictionary(endpoint.RoutePattern.Defaults);