2 instantiations of BodyStruct
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (2)
400
httpContext.Items[structToBeZeroedKey] = new
BodyStruct
{ Id = 42 };
410
var targetStruct = new
BodyStruct
4 references to BodyStruct
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (4)
404
Assert.Equal(default(
BodyStruct
), httpContext.Items[structToBeZeroedKey]);
410
var
targetStruct = new BodyStruct
436
var
resultStruct = Assert.IsType<
BodyStruct
>(httpContext.Items["targetStruct"]);