JsonInheritanceConverter
Defines the class as inheritance base class and adds a discriminator property to the serialized object.
Gets the default discriminiator name.
Gets the discriminator property name.
public JsonInheritanceConverter()
Initializes a new instance of the JsonInheritanceConverter class.
Initializes a new instance of the JsonInheritanceConverter class.
Initializes a new instance of the JsonInheritanceConverter class.
Initializes a new instance of the JsonInheritanceConverter class which only applies for the given base type.
Initializes a new instance of the JsonInheritanceConverter class which only applies for the given base type.
Initializes a new instance of the JsonInheritanceConverter class which only applies for the given base type.
protected virtual Type GetDiscriminatorType(JObject jObject, Type objectType, string discriminatorValue)
Gets the type for the given discriminator value.
Gets the discriminator value for the given type.