4 implementations of Link
Microsoft.AspNetCore.Mvc.Core (1)
Routing\UrlHelperBase.cs (1)
54
public virtual string?
Link
(string? routeName, object? values)
Microsoft.AspNetCore.Mvc.Core.Test (1)
AcceptedAtActionResultTests.cs (1)
310
public string
Link
(string routeName, object values) => null;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
PageRemoteAttributeTest.cs (1)
254
public string
Link
(string routeName, object values)
RemoteAttributeTest.cs (1)
529
public string
Link
(string routeName, object values)
10 references to Link
Microsoft.AspNetCore.Mvc.Core (2)
AcceptedAtRouteResult.cs (1)
79
var url = urlHelper.
Link
(RouteName, RouteValues);
CreatedAtRouteResult.cs (1)
79
var url = urlHelper.
Link
(RouteName, RouteValues);
Microsoft.AspNetCore.Mvc.Core.Test (8)
AcceptedAtRouteResultTests.cs (1)
191
urlHelper.Setup(o => o.
Link
(It.IsAny<string>(), It.IsAny<object>())).Returns(returnValue);
CreatedAtRouteResultTests.cs (1)
117
urlHelper.Setup(o => o.
Link
(It.IsAny<string>(), It.IsAny<object>())).Returns(returnValue);
Routing\UrlHelperTestBase.cs (6)
737
var url = urlHelper.
Link
(
757
var url = urlHelper.
Link
(
782
var url = urlHelper.
Link
(
808
var url = urlHelper.
Link
(
851
var url = urlHelper.
Link
("MyRouteName", null);
869
var url = urlHelper.
Link
(