Class ConcreteTypeConverter<TConcrete>

Current version: 3.4

Concrete type converter.

Inheritance
object
ConcreteTypeConverter<TConcrete>
Namespace: StylelabsStylelabs.MSdkUtilities
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class ConcreteTypeConverter<TConcrete> : JsonConverter
Type Parameters
NameDescription
TConcrete

The type.

Methods

CanConvert(Type)

Declaration
RequestResponse
public override bool CanConvert(Type objectType)
Parameters
TypeNameDescription
TypeobjectType
Returns
TypeDescription
bool

ReadJson(JsonReader, Type, object, JsonSerializer)

Declaration
RequestResponse
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonReaderreader
TypeobjectType
objectexistingValue
JsonSerializerserializer
Returns
TypeDescription
object

WriteJson(JsonWriter, object, JsonSerializer)

Declaration
RequestResponse
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
TypeNameDescription
JsonWriterwriter
objectvalue
JsonSerializerserializer

Do you have some feedback for us?

If you have suggestions for improving this article,