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