5 types derived from PocoWithPolymorphism
Shared.Tests (5)
JsonSchemaExporter\TestTypes.cs (5)
1090
public class DerivedPocoNoDiscriminator :
PocoWithPolymorphism
1095
public class DerivedPocoStringDiscriminator :
PocoWithPolymorphism
1100
public class DerivedPocoIntDiscriminator :
PocoWithPolymorphism
1105
public class DerivedCollection :
PocoWithPolymorphism
, IEnumerable<int>
1111
public class DerivedDictionary :
PocoWithPolymorphism
, IReadOnlyDictionary<string, int>
11 references to PocoWithPolymorphism
Shared.Tests (11)
JsonSchemaExporter\TestTypes.cs (11)
610
yield return new TestData<
PocoWithPolymorphism
>(
611
Value: new
PocoWithPolymorphism
.DerivedPocoStringDiscriminator { BaseValue = 42, DerivedValue = "derived" },
613
new
PocoWithPolymorphism
.DerivedPocoNoDiscriminator { BaseValue = 42, DerivedValue = "derived" },
614
new
PocoWithPolymorphism
.DerivedPocoIntDiscriminator { BaseValue = 42, DerivedValue = "derived" },
615
new
PocoWithPolymorphism
.DerivedCollection { BaseValue = 42 },
616
new
PocoWithPolymorphism
.DerivedDictionary { BaseValue = 42 },
1132
public
PocoWithPolymorphism
PolymorphicValue { get; set; } = new
PocoWithPolymorphism
.DerivedPocoNoDiscriminator { DerivedValue = "derived" };
1133
public
PocoWithPolymorphism
.DerivedPocoNoDiscriminator DerivedValue1 { get; set; } = new() { DerivedValue = "derived" };
1134
public
PocoWithPolymorphism
.DerivedPocoStringDiscriminator DerivedValue2 { get; set; } = new() { DerivedValue = "derived" };
1277
[JsonSerializable(typeof(
PocoWithPolymorphism
))]