Implemented interface member:
property
ActionContext
Microsoft.AspNetCore.Mvc.IUrlHelper.ActionContext
1 write to ActionContext
Microsoft.AspNetCore.Mvc.Core (1)
Routing\UrlHelperBase.cs (1)
33
ActionContext
= actionContext;
12 references to ActionContext
Microsoft.AspNetCore.Mvc.Core (12)
Routing\EndpointRoutingUrlHelper.cs (2)
69
ActionContext
.HttpContext,
82
ActionContext
.HttpContext,
Routing\UrlHelper.cs (2)
28
protected HttpContext HttpContext =>
ActionContext
.HttpContext;
38
var routers =
ActionContext
.RouteData.Routers;
Routing\UrlHelperBase.cs (8)
28
/// <param name="actionContext">The <see cref="
ActionContext
"/>.</param>
51
public virtual string? Content(string? contentPath) => Content(
ActionContext
.HttpContext, contentPath);
60
Protocol =
ActionContext
.HttpContext.Request.Scheme,
61
Host =
ActionContext
.HttpContext.Request.Host.ToUriComponent()
131
var pathBase =
ActionContext
.HttpContext.Request.PathBase;
149
host = string.IsNullOrEmpty(host) ?
ActionContext
.HttpContext.Request.Host.Value : host;
211
host = string.IsNullOrEmpty(host) ?
ActionContext
.HttpContext.Request.Host.Value : host;
470
var pathBase =
ActionContext
.HttpContext.Request.PathBase;