1 instantiation of TodoBindable
MinimalSample (1)
Program.cs (1)
108
return ValueTask.FromResult<TodoBindable?>(new
TodoBindable
{ Id = 1, Title = "I was bound from IBindableFromHttpContext<TodoBindable>.BindAsync!" });
4 references to TodoBindable
MinimalSample (4)
Program.cs (4)
94
app.MapPost("/todos", (
TodoBindable
todo) => todo);
100
public class TodoBindable : IBindableFromHttpContext<
TodoBindable
>
106
public static ValueTask<
TodoBindable
?> BindAsync(HttpContext context, ParameterInfo parameter)
108
return ValueTask.FromResult<
TodoBindable
?>(new TodoBindable { Id = 1, Title = "I was bound from IBindableFromHttpContext<TodoBindable>.BindAsync!" });