HttpContextAccessor Class¶
- Namespace
Microsoft.AspNetCore.Http
- Assemblies
- Microsoft.AspNetCore.Http
Syntax¶
public class HttpContextAccessor : IHttpContextAccessor
-
class
Microsoft.AspNetCore.Http.
HttpContextAccessor
Properties¶
-
Microsoft.AspNetCore.Http.HttpContextAccessor.
HttpContext
¶ Return type: Microsoft.AspNetCore.Http.HttpContext public HttpContext HttpContext { get; set; }
-