4 implementations of ITodo
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateFactoryTests.cs (2)
3526
private class Todo :
ITodo
3551
private record struct TodoStruct(int Id, string? Name, bool IsComplete) :
ITodo
;
RequestDelegateGenerator\SharedTypes.cs (2)
56
public class Todo :
ITodo
708
public record struct TodoStruct(int Id, string Name, bool IsComplete, TodoStatus Status) :
ITodo
;
6 references to ITodo
Microsoft.AspNetCore.Http.Extensions.Tests (6)
RequestDelegateFactoryTests.cs (3)
790
void TestImpliedFromBodyInterface(HttpContext httpContext,
ITodo
todo)
808
new[] { (Action<HttpContext,
ITodo
>)TestImpliedFromBodyInterface },
879
Assert.Equal(originalTodo.Name, ((
ITodo
)deserializedRequestBody!).Name);
RequestDelegateGenerator\SharedTypes.cs (3)
983
public class TodoJsonConverter : JsonConverter<
ITodo
>
985
public override
ITodo
Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
1017
public override void Write(Utf8JsonWriter writer,
ITodo
value, JsonSerializerOptions options)