Метод | Описание | |
---|---|---|
DefaultContractResolver ( ) : System |
Initializes a new instance of the DefaultContractResolver class.
|
|
ResolveContract ( |
Resolves the contract for a given type.
|
Метод | Описание | |
---|---|---|
CreateArrayContract ( |
Creates a JsonArrayContract for the given type.
|
|
CreateDictionaryContract ( |
Creates a JsonDictionaryContract for the given type.
|
|
CreateLinqContract ( |
Creates a JsonLinqContract for the given type.
|
|
CreateMemberValueProvider ( |
Creates the IValueProvider used by the serializer to get and set values from a member.
|
|
CreateObjectContract ( |
Creates a JsonObjectContract for the given type.
|
|
CreatePrimitiveContract ( |
Creates a JsonPrimitiveContract for the given type.
|
|
CreateProperties ( |
Creates properties for the given JsonObjectContract.
|
|
CreateProperty ( |
Creates a JsonProperty for the given MemberInfo.
|
|
GetSerializableMembers ( |
Gets the serializable members for the type.
|
|
ResolveContractConverter ( |
Resolves the default JsonConverter for the contract.
|
|
ResolvePropertyName ( string propertyName ) : string |
Resolves the name of the property.
|
Метод | Описание | |
---|---|---|
CreateContract ( |
||
GetClrTypeFullName ( |
||
GetParametrizedConstructor ( |
||
InitializeContract ( |
||
IsValidCallback ( |
||
ShouldSerializeEntityMember ( |
protected CreateArrayContract ( |
||
objectType | Type of the object. | |
Результат |
protected CreateDictionaryContract ( |
||
objectType | Type of the object. | |
Результат |
protected CreateLinqContract ( |
||
objectType | Type of the object. | |
Результат |
protected CreateMemberValueProvider ( |
||
member | The member. | |
Результат | IValueProvider |
protected CreateObjectContract ( |
||
objectType | Type of the object. | |
Результат |
protected CreatePrimitiveContract ( |
||
objectType | Type of the object. | |
Результат | Newtonsoft.Json.Serialization.JsonPrimitiveContract |
protected CreateProperties ( |
||
contract | The contract to create properties for. | |
Результат | IList |
protected CreateProperty ( |
||
contract | The member's declaring types |
|
member | The member to create a |
|
Результат |
public DefaultContractResolver ( ) : System | ||
Результат | System |
protected GetSerializableMembers ( |
||
objectType | The type to get serializable members for. | |
Результат | List |
public ResolveContract ( |
||
type | The type to resolve a contract for. | |
Результат |
protected ResolveContractConverter ( |
||
objectType | Type of the object. | |
Результат |
protected ResolvePropertyName ( string propertyName ) : string | ||
propertyName | string | Name of the property. |
Результат | string |