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