Wanzyee Studio
DataContractResolver

The resolver to make sure custom classes with DataContractAttribute work. More...

Inherits DefaultContractResolver.

Static Public Attributes

static readonly DataContractResolver instance = new DataContractResolver()
 The singleton instance. More...
 

Protected Member Functions

override JsonContract CreateContract (Type objectType)
 Determines which contract type is created for the given type.

Parameters
objectTypeType of the object.
Returns
A JsonContract for the given type.

 

Detailed Description

The resolver to make sure custom classes with DataContractAttribute work.

Member Data Documentation

readonly DataContractResolver instance = new DataContractResolver()
static

The singleton instance.