4 implementations of Content
Microsoft.AspNetCore.Mvc.Core (1)
Routing\UrlHelperBase.cs (1)
51
public virtual string?
Content
(string? contentPath) => Content(ActionContext.HttpContext, contentPath);
Microsoft.AspNetCore.Mvc.Core.Test (1)
AcceptedAtActionResultTests.cs (1)
306
public string
Content
(string contentPath) => null;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
PageRemoteAttributeTest.cs (1)
244
public string
Content
(string contentPath)
RemoteAttributeTest.cs (1)
519
public string
Content
(string contentPath)
36 references to Content
Microsoft.AspNetCore.Identity.UI (16)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (2)
127
returnUrl = returnUrl ?? Url.
Content
("~/");
172
returnUrl = returnUrl ?? Url.
Content
("~/");
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (2)
110
returnUrl ??= Url.
Content
("~/");
122
returnUrl ??= Url.
Content
("~/");
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
116
returnUrl = returnUrl ?? Url.
Content
("~/");
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
116
return LocalRedirect(returnUrl ?? Url.
Content
("~/"));
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
125
returnUrl ??= Url.
Content
("~/");
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
62
returnUrl = returnUrl ?? Url.
Content
("~/");
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (2)
127
returnUrl = returnUrl ?? Url.
Content
("~/");
172
returnUrl = returnUrl ?? Url.
Content
("~/");
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (2)
110
returnUrl ??= Url.
Content
("~/");
122
returnUrl ??= Url.
Content
("~/");
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
116
returnUrl = returnUrl ?? Url.
Content
("~/");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
116
return LocalRedirect(returnUrl ?? Url.
Content
("~/"));
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
125
returnUrl ??= Url.
Content
("~/");
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
62
returnUrl = returnUrl ?? Url.
Content
("~/");
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\LocalRedirectResultExecutor.cs (1)
49
var destinationUrl = urlHelper.
Content
(result.Url);
Infrastructure\RedirectResultExecutor.cs (1)
44
destinationUrl = urlHelper.
Content
(result.Url);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Routing\UrlHelperTestBase.cs (2)
31
var path = urlHelper.
Content
(contentPath);
54
var path = urlHelper.
Content
(contentPath);
Microsoft.AspNetCore.Mvc.Razor (3)
RazorPageBase.cs (1)
360
return _urlHelper.
Content
(contentPath);
TagHelpers\UrlResolutionTagHelper.cs (2)
229
resolvedUrl = urlHelper.
Content
(trimmedUrl);
254
var appRelativeUrl = urlHelper.
Content
(trimmedUrl);
Microsoft.AspNetCore.Mvc.Razor.Test (7)
RazorPageTest.cs (1)
835
.Setup(h => h.
Content
("url"))
TagHelpers\UrlResolutionTagHelperTest.cs (6)
107
.Setup(urlHelper => urlHelper.
Content
(It.IsAny<string>()))
167
.Setup(urlHelper => urlHelper.
Content
(It.IsAny<string>()))
228
.Setup(urlHelper => urlHelper.
Content
(It.IsAny<string>()))
284
.Setup(urlHelper => urlHelper.
Content
(It.IsAny<string>()))
361
.Setup(urlHelper => urlHelper.
Content
(It.IsAny<string>()))
399
.Setup(urlHelper => urlHelper.
Content
(It.IsAny<string>()))
Microsoft.AspNetCore.Mvc.TagHelpers.Test (6)
ImageTagHelperTest.cs (2)
60
.Setup(urlhelper => urlhelper.
Content
(It.IsAny<string>()))
386
.Setup(helper => helper.
Content
(It.IsAny<string>()))
LinkTagHelperTest.cs (2)
58
.Setup(urlhelper => urlhelper.
Content
(It.IsAny<string>()))
1210
.Setup(helper => helper.
Content
(It.IsAny<string>()))
ScriptTagHelperTest.cs (2)
57
.Setup(urlhelper => urlhelper.
Content
(It.IsAny<string>()))
1216
.Setup(helper => helper.
Content
(It.IsAny<string>()))