2 writes to Controller
Microsoft.AspNetCore.Mvc.Core (1)
UrlHelperExtensions.cs (1)
196Controller = controller,
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTestBase.cs (1)
697Controller = "home3",
10 references to Controller
Microsoft.AspNetCore.Mvc.Core (3)
Routing\EndpointRoutingUrlHelper.cs (2)
55if (urlActionContext.Controller == null) 65values["controller"] = urlActionContext.Controller;
Routing\UrlHelper.cs (1)
57NormalizeRouteValuesForAction(actionContext.Action, actionContext.Controller, valuesDictionary, AmbientValues);
Microsoft.AspNetCore.Mvc.Core.Test (3)
Routing\UrlHelperExtensionsTest.cs (3)
629Assert.Null(actual.Controller); 664Assert.Null(actual.Controller); 699Assert.Null(actual.Controller);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
FormActionTagHelperTest.cs (2)
46.Returns<UrlActionContext>(c => $"{c.Controller}/{c.Action}/{(c.Values as RouteValueDictionary)["name"]}"); 220Assert.Equal("books", param.Controller, StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\HtmlHelperFormTest.cs (1)
234string.Equals(context.Controller, controllerName) &&
Rendering\HtmlHelperLinkGenerationTest.cs (1)
68actionContext.Controller,