Class HttpContextAccessorExtensions
Inheritance
System.Object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Web.Common.dll
Syntax
public static class HttpContextAccessorExtensions
Methods
View SourceGetRequiredHttpContext(IHttpContextAccessor)
Declaration
public static HttpContext GetRequiredHttpContext(this IHttpContextAccessor httpContextAccessor)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
httpContextAccessor |
Returns
Type | Description |
---|---|
Microsoft. |