1 instantiation of JsonTodoChild
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateFactoryTests.cs (1)
1301
JsonTodoChild originalTodo =
new
()
10 references to JsonTodoChild
Microsoft.AspNetCore.Http.Extensions.Tests (10)
RequestDelegateFactoryTests.cs (6)
1301
JsonTodoChild
originalTodo = new()
1354
var
deserializedResponseBody = JsonSerializer.Deserialize<
JsonTodoChild
>(responseBodyStream.ToArray(), new JsonSerializerOptions
1391
Assert.Equal(nameof(
JsonTodoChild
), deserializedResponseBody["$type"]!.GetValue<string>());
3539
[JsonDerivedType(typeof(
JsonTodoChild
), nameof(
JsonTodoChild
))]
RequestDelegateGenerator\RequestDelegateCreationTests.Responses.cs (2)
653
await VerifyResponseJsonBodyAsync<
JsonTodoChild
>(httpContext, (todo) =>
680
Assert.Equal(nameof(
JsonTodoChild
), node["$type"]!.GetValue<string>());
RequestDelegateGenerator\SharedTypes.cs (2)
86
[JsonDerivedType(typeof(
JsonTodoChild
), nameof(
JsonTodoChild
))]