2 types derived from JsonTodo
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (1)
3533private class JsonTodoChild : JsonTodo
RequestDelegateGenerator\SharedTypes.cs (1)
98public class JsonTodoChild : JsonTodo
19 references to JsonTodo
Microsoft.AspNetCore.Http.Extensions.Tests (19)
RequestDelegateFactoryTests.cs (15)
1307JsonTodo TestAction() => originalTodo; 1309Task<JsonTodo> TaskTestAction() => Task.FromResult<JsonTodo>(originalTodo); 1310async Task<JsonTodo> TaskTestActionAwaited() 1316ValueTask<JsonTodo> ValueTaskTestAction() => ValueTask.FromResult<JsonTodo>(originalTodo); 1317async ValueTask<JsonTodo> ValueTaskTestActionAwaited() 1325new object[] { (Func<JsonTodo>)TestAction }, 1326new object[] { (Func<Task<JsonTodo>>)TaskTestAction}, 1327new object[] { (Func<Task<JsonTodo>>)TaskTestActionAwaited}, 1328new object[] { (Func<ValueTask<JsonTodo>>)ValueTaskTestAction}, 1329new object[] { (Func<ValueTask<JsonTodo>>)ValueTaskTestActionAwaited}, 3542public static async ValueTask<JsonTodo?> BindAsync(HttpContext context, ParameterInfo parameter) 3545var body = await JsonSerializer.DeserializeAsync<JsonTodo>(context.Request.Body);
RequestDelegateGenerator\SharedTypes.cs (4)
89public static async ValueTask<JsonTodo?> BindAsync(HttpContext context, ParameterInfo parameter) 92var body = await JsonSerializer.DeserializeAsync<JsonTodo>(context.Request.Body); 104[JsonSerializable(typeof(IAsyncEnumerable<JsonTodo>))]