2 instantiations of PocoWithCustomConverter
Microsoft.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
418yield return new TestData<PocoWithCustomConverter>(new() { Value = 42 }, "true"); 973new PocoWithCustomConverter { Value = reader.GetInt32() };
5 references to PocoWithCustomConverter
Microsoft.Extensions.AI.Abstractions.Tests (5)
test\Shared\JsonSchemaExporter\TestTypes.cs (5)
418yield return new TestData<PocoWithCustomConverter>(new() { Value = 42 }, "true"); 970public class CustomConverter : JsonConverter<PocoWithCustomConverter> 972public override PocoWithCustomConverter Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => 975public override void Write(Utf8JsonWriter writer, PocoWithCustomConverter value, JsonSerializerOptions options) => 1278[JsonSerializable(typeof(PocoWithCustomConverter))]