3 types derived from Shape
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (3)
TestObjectModels\HeterogenousCollection.cs (3)
17public class Circle : Shape 22public class Rectangle : Shape 27public class Square : Shape
6 references to Shape
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (6)
IntegrationTests\HeterogenousCollectionTests.cs (5)
22Items = new List<Shape>() 60if (jsonTypeInfo.Type == typeof(Shape)) 82public class ShapeJsonConverter : JsonConverter<Shape> 84public override Shape Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 108public override void Write(Utf8JsonWriter writer, Shape value, JsonSerializerOptions options)
TestObjectModels\HeterogenousCollection.cs (1)
34public IList<Shape> Items { get; set; }