메소드 | 설명 | |
---|---|---|
CanConvert ( System objectType ) : bool | ||
JsonInheritanceConverter ( ) | ||
JsonInheritanceConverter ( string discriminator ) | ||
ReadJson ( Newtonsoft reader, System objectType, object existingValue, Newtonsoft serializer ) : object | ||
WriteJson ( Newtonsoft writer, object value, Newtonsoft serializer ) : void |
메소드 | 설명 | |
---|---|---|
GetObjectSubtype ( System objectType, string discriminator ) : System.Type | ||
IsKnwonTypeTargetType ( dynamic attribute, string discriminator ) : bool |
public JsonInheritanceConverter ( string discriminator ) | ||
discriminator | string |
public ReadJson ( Newtonsoft reader, System objectType, object existingValue, Newtonsoft serializer ) : object | ||
reader | Newtonsoft | |
objectType | System | |
existingValue | object | |
serializer | Newtonsoft | |
리턴 | object |
public WriteJson ( Newtonsoft writer, object value, Newtonsoft serializer ) : void | ||
writer | Newtonsoft | |
value | object | |
serializer | Newtonsoft | |
리턴 | void |