4 implementations of Action
Microsoft.AspNetCore.Mvc.Core (1)
Routing\UrlHelperBase.cs (1)
66public abstract string? Action(UrlActionContext actionContext);
Microsoft.AspNetCore.Mvc.Core.Test (1)
AcceptedAtActionResultTests.cs (1)
304public string Action(UrlActionContext actionContext) => ActionValue;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
PageRemoteAttributeTest.cs (1)
239public string Action(UrlActionContext actionContext)
RemoteAttributeTest.cs (1)
514public string Action(UrlActionContext actionContext)
26 references to Action
Microsoft.AspNetCore.Mvc.Abstractions (7)
Routing\UrlActionContext.cs (7)
7/// Context object to be used for the URLs that <see cref="IUrlHelper.Action(UrlActionContext)"/> generates. 12/// The name of the action method that <see cref="IUrlHelper.Action(UrlActionContext)"/> uses to generate URLs. 21/// The name of the controller that <see cref="IUrlHelper.Action(UrlActionContext)"/> uses to generate URLs. 30/// The object that contains the route values that <see cref="IUrlHelper.Action(UrlActionContext)"/> 40/// The protocol for the URLs that <see cref="IUrlHelper.Action(UrlActionContext)"/> generates, 50/// The host name for the URLs that <see cref="IUrlHelper.Action(UrlActionContext)"/> generates. 59/// The fragment for the URLs that <see cref="IUrlHelper.Action(UrlActionContext)"/> generates.
Microsoft.AspNetCore.Mvc.Core (1)
UrlHelperExtensions.cs (1)
193return helper.Action(new UrlActionContext()
Microsoft.AspNetCore.Mvc.Core.Test (7)
AcceptedAtActionResultTests.cs (1)
283urlHelper.Setup(o => o.Action(It.IsAny<UrlActionContext>())).Returns(returnValue);
CreatedAtActionResultTests.cs (1)
103urlHelper.Setup(o => o.Action(It.IsAny<UrlActionContext>())).Returns(returnValue);
RedirectToActionResultTest.cs (1)
142urlHelper.Setup(o => o.Action(It.IsAny<UrlActionContext>())).Returns(returnValue);
Routing\UrlHelperExtensionsTest.cs (3)
619urlHelper.Setup(h => h.Action(It.IsAny<UrlActionContext>())) 654urlHelper.Setup(h => h.Action(It.IsAny<UrlActionContext>())) 689urlHelper.Setup(h => h.Action(It.IsAny<UrlActionContext>()))
Routing\UrlHelperTestBase.cs (1)
705var url = urlHelper.Action(actionContext);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (9)
AnchorTagHelperTest.cs (1)
53.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())).Returns("home/index");
FormActionTagHelperTest.cs (3)
45.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())) 216.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())) 355.Setup(mock => mock.Action(It.IsAny<UrlActionContext>()))
FormTagHelperTest.cs (5)
94.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())).Returns("home/index"); 207.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())).Returns("home/index"); 265.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())).Returns("home/index"); 329.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())).Returns("home/index"); 591.Setup(mock => mock.Action(It.IsAny<UrlActionContext>())).Returns("home/index");
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\HtmlHelperFormTest.cs (1)
232.Setup(realHelper => realHelper.Action(It.Is<UrlActionContext>((context) =>
Rendering\HtmlHelperLinkGenerationTest.cs (1)
61urlHelper.Setup(h => h.Action(It.IsAny<UrlActionContext>()))