2 instantiations of PocoWithCustomConverter
Microsoft.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
400
yield return new TestData<PocoWithCustomConverter>(
new
() { Value = 42 }, "true");
953
new
PocoWithCustomConverter
{ Value = reader.GetInt32() };
4 references to PocoWithCustomConverter
Microsoft.Extensions.AI.Abstractions.Tests (4)
test\Shared\JsonSchemaExporter\TestTypes.cs (4)
400
yield return new TestData<
PocoWithCustomConverter
>(new() { Value = 42 }, "true");
950
public class CustomConverter : JsonConverter<
PocoWithCustomConverter
>
952
public override
PocoWithCustomConverter
Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) =>
955
public override void Write(Utf8JsonWriter writer,
PocoWithCustomConverter
value, JsonSerializerOptions options) =>