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