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