Class PolymorphicSerializeJsonConverter<T>
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Rest.ClientRuntime.dll
Syntax
public class PolymorphicSerializeJsonConverter<T> : Microsoft.Rest.Serialization.PolymorphicJsonConverter where T : class
Type Parameters
T
|
Constructors
PolymorphicSerializeJsonConverter<T>(String)
Declaration
public PolymorphicSerializeJsonConverter (string discriminatorField);
Parameters
String
discriminatorField
|
Properties
CanRead
Methods
CanConvert(Type)
Declaration
public override bool CanConvert (Type objectType);
Parameters
Type
objectType
|
Returns
Boolean
|
ReadJson(JsonReader, Type, Object, JsonSerializer)
Declaration
public override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer);
Parameters
JsonReader
reader
|
Type
objectType
|
Object
existingValue
|
JsonSerializer
serializer
|
Returns
Object
|
WriteJson(JsonWriter, Object, JsonSerializer)
Declaration
public override void WriteJson (Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer);
Parameters
JsonWriter
writer
|
Object
value
|
JsonSerializer
serializer
|