3 types derived from Shape
Microsoft.AspNetCore.JsonPatch.Tests (3)
TestObjectModels\HeterogenousCollection.cs (3)
17
public class Circle :
Shape
22
public class Rectangle :
Shape
27
public class Square :
Shape
7 references to Shape
Microsoft.AspNetCore.JsonPatch.Tests (7)
IntegrationTests\HeterogenousCollectionTests.cs (6)
22
Items = new List<
Shape
>()
53
if (objectType == typeof(
Shape
))
62
public class ShapeJsonConverter : CustomCreationConverter<
Shape
>
68
public override
Shape
Create(Type objectType)
81
var
target = CreateShape(jObject);
87
private
Shape
CreateShape(JObject jObject)
TestObjectModels\HeterogenousCollection.cs (1)
34
public IList<
Shape
> Items { get; set; }