2 writes to RouteValues
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerModel.cs (2)
39
RouteValues
= new Dictionary<string, string?>(StringComparer.OrdinalIgnoreCase);
60
RouteValues
= new Dictionary<string, string?>(other.RouteValues, StringComparer.OrdinalIgnoreCase);
11 references to RouteValues
ApplicationModelWebSite (2)
Conventions\MultipleAreasControllerConvention.cs (2)
17
controller.
RouteValues
.Add("area", areaNames?[0]);
21
controllerCopy.
RouteValues
["area"] = areaNames[i];
Microsoft.AspNetCore.Mvc.Core (6)
ApplicationModels\ActionModel.cs (1)
138
/// <see cref="ControllerModel.
RouteValues
"/>.
ApplicationModels\ApplicationModelFactory.cs (1)
142
foreach (var kvp in controller.
RouteValues
)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
231
foreach (var kvp in controller.
RouteValues
)
ApplicationModels\ControllerModel.cs (2)
60
RouteValues = new Dictionary<string, string?>(other.
RouteValues
, StringComparer.OrdinalIgnoreCase);
127
/// Entries in <see cref="
RouteValues
"/> can be overridden by entries in
ApplicationModels\DefaultApplicationModelProvider.cs (1)
172
controllerModel.
RouteValues
.Add(routeValueProvider.RouteKey, routeValueProvider.RouteValue);
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\ControllerModelTest.cs (3)
52
Assert.NotSame(controller.
RouteValues
, controller2.
RouteValues
);
78
controller.
RouteValues
.Add("key", "value");