5 types derived from PocoWithPolymorphism
Shared.Tests (5)
JsonSchemaExporter\TestTypes.cs (5)
1082public class DerivedPocoNoDiscriminator : PocoWithPolymorphism 1087public class DerivedPocoStringDiscriminator : PocoWithPolymorphism 1092public class DerivedPocoIntDiscriminator : PocoWithPolymorphism 1097public class DerivedCollection : PocoWithPolymorphism, IEnumerable<int> 1103public class DerivedDictionary : PocoWithPolymorphism, IReadOnlyDictionary<string, int>
11 references to PocoWithPolymorphism
Shared.Tests (11)
JsonSchemaExporter\TestTypes.cs (11)
604yield return new TestData<PocoWithPolymorphism>( 605Value: new PocoWithPolymorphism.DerivedPocoStringDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 607new PocoWithPolymorphism.DerivedPocoNoDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 608new PocoWithPolymorphism.DerivedPocoIntDiscriminator { BaseValue = 42, DerivedValue = "derived" }, 609new PocoWithPolymorphism.DerivedCollection { BaseValue = 42 }, 610new PocoWithPolymorphism.DerivedDictionary { BaseValue = 42 }, 1124public PocoWithPolymorphism PolymorphicValue { get; set; } = new PocoWithPolymorphism.DerivedPocoNoDiscriminator { DerivedValue = "derived" }; 1125public PocoWithPolymorphism.DerivedPocoNoDiscriminator DerivedValue1 { get; set; } = new() { DerivedValue = "derived" }; 1126public PocoWithPolymorphism.DerivedPocoStringDiscriminator DerivedValue2 { get; set; } = new() { DerivedValue = "derived" }; 1269[JsonSerializable(typeof(PocoWithPolymorphism))]