Implemented interface member:
property
HttpContext
Microsoft.AspNetCore.Http.IHttpContextAccessor.HttpContext
9 writes to HttpContext
Microsoft.AspNetCore.Http.Tests (8)
HttpContextAccessorTests.cs (8)
15accessor.HttpContext = context; 36accessor.HttpContext = context; 66accessor.HttpContext = null; 81accessor.HttpContext = context; 112accessor.HttpContext = context2; 127accessor.HttpContext = context; 131accessor.HttpContext = null; 156accessor.HttpContext = context;
Microsoft.AspNetCore.Identity.Test (1)
SignInManagerTest.cs (1)
620new HttpContextAccessor { HttpContext = context },
10 references to HttpContext
Microsoft.AspNetCore.Http.Tests (10)
HttpContextAccessorTests.cs (10)
19Assert.Same(context, accessor.HttpContext); 27Assert.Null(accessor.HttpContext); 45Assert.Same(context, accessor.HttpContext); 53Assert.Null(accessor.HttpContext); 70Assert.Null(accessor.HttpContext); 90Assert.Same(context, accessor.HttpContext); 98Assert.Null(accessor.HttpContext); 116Assert.Same(context2, accessor.HttpContext); 138Assert.Null(accessor.HttpContext); 165Assert.Null(accessor.HttpContext);