4 implementations of Content
Microsoft.AspNetCore.Mvc.Core (1)
Routing\UrlHelperBase.cs (1)
51public virtual string? Content(string? contentPath) => Content(ActionContext.HttpContext, contentPath);
Microsoft.AspNetCore.Mvc.Core.Test (1)
AcceptedAtActionResultTests.cs (1)
306public string Content(string contentPath) => null;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
PageRemoteAttributeTest.cs (1)
244public string Content(string contentPath)
RemoteAttributeTest.cs (1)
519public string Content(string contentPath)
37 references to Content
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
78returnUrl = returnUrl ?? Url.Content("~/");
Microsoft.AspNetCore.Identity.UI (16)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (2)
127returnUrl = returnUrl ?? Url.Content("~/"); 172returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (2)
110returnUrl ??= Url.Content("~/"); 122returnUrl ??= Url.Content("~/");
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
116returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
116return LocalRedirect(returnUrl ?? Url.Content("~/"));
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
125returnUrl ??= Url.Content("~/");
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
62returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (2)
127returnUrl = returnUrl ?? Url.Content("~/"); 172returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (2)
110returnUrl ??= Url.Content("~/"); 122returnUrl ??= Url.Content("~/");
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
116returnUrl = returnUrl ?? Url.Content("~/");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
116return LocalRedirect(returnUrl ?? Url.Content("~/"));
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
125returnUrl ??= Url.Content("~/");
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
62returnUrl = returnUrl ?? Url.Content("~/");
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\LocalRedirectResultExecutor.cs (1)
49var destinationUrl = urlHelper.Content(result.Url);
Infrastructure\RedirectResultExecutor.cs (1)
44destinationUrl = urlHelper.Content(result.Url);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Routing\UrlHelperTestBase.cs (2)
31var path = urlHelper.Content(contentPath); 54var path = urlHelper.Content(contentPath);
Microsoft.AspNetCore.Mvc.Razor (3)
RazorPageBase.cs (1)
360return _urlHelper.Content(contentPath);
TagHelpers\UrlResolutionTagHelper.cs (2)
229resolvedUrl = urlHelper.Content(trimmedUrl); 254var 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>())) 1163.Setup(helper => helper.Content(It.IsAny<string>()))