hdac SDK
SDK for hdac blockchain development
Public 멤버 함수 | Protected 멤버 함수 | 속성 | 모든 멤버 목록
Newtonsoft.Json.Serialization.DefaultContractResolver 클래스 참조

Used by JsonSerializer to resolves a JsonContract for a given Type. 더 자세히 ...

Newtonsoft.Json.Serialization.DefaultContractResolver에 대한 상속 다이어그램 :
Newtonsoft.Json.Serialization.IContractResolver Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver

Public 멤버 함수

 DefaultContractResolver ()
 Initializes a new instance of the DefaultContractResolver class. 더 자세히 ...
 
 DefaultContractResolver (bool shareCache)
 Initializes a new instance of the DefaultContractResolver class. 더 자세히 ...
 
virtual JsonContract ResolveContract (Type type)
 Resolves the contract for a given type. 더 자세히 ...
 

Protected 멤버 함수

virtual List< MemberInfo > GetSerializableMembers (Type objectType)
 Gets the serializable members for the type. 더 자세히 ...
 
virtual JsonObjectContract CreateObjectContract (Type objectType)
 Creates a JsonObjectContract for the given type. 더 자세히 ...
 
virtual JsonConverter ResolveContractConverter (Type objectType)
 Resolves the default JsonConverter for the contract. 더 자세히 ...
 
virtual JsonDictionaryContract CreateDictionaryContract (Type objectType)
 Creates a JsonDictionaryContract for the given type. 더 자세히 ...
 
virtual JsonArrayContract CreateArrayContract (Type objectType)
 Creates a JsonArrayContract for the given type. 더 자세히 ...
 
virtual JsonPrimitiveContract CreatePrimitiveContract (Type objectType)
 Creates a JsonPrimitiveContract for the given type. 더 자세히 ...
 
virtual JsonLinqContract CreateLinqContract (Type objectType)
 Creates a JsonLinqContract for the given type. 더 자세히 ...
 
virtual JsonISerializableContract CreateISerializableContract (Type objectType)
 Creates a JsonISerializableContract for the given type. 더 자세히 ...
 
virtual JsonDynamicContract CreateDynamicContract (Type objectType)
 Creates a JsonDynamicContract for the given type. 더 자세히 ...
 
virtual JsonStringContract CreateStringContract (Type objectType)
 Creates a JsonStringContract for the given type. 더 자세히 ...
 
virtual JsonContract CreateContract (Type objectType)
 Determines which contract type is created for the given type. 더 자세히 ...
 
virtual IList< JsonPropertyCreateProperties (Type type, MemberSerialization memberSerialization)
 Creates properties for the given JsonContract. 더 자세히 ...
 
virtual IValueProvider CreateMemberValueProvider (MemberInfo member)
 Creates the IValueProvider used by the serializer to get and set values from a member. 더 자세히 ...
 
virtual JsonProperty CreateProperty (MemberInfo member, MemberSerialization memberSerialization)
 Creates a JsonProperty for the given MemberInfo. 더 자세히 ...
 
virtual string ResolvePropertyName (string propertyName)
 Resolves the name of the property. 더 자세히 ...
 

속성

bool DynamicCodeGeneration [get]
 Gets a value indicating whether members are being get and set using dynamic code generation. This value is determined by the runtime permissions available. 더 자세히 ...
 
BindingFlags DefaultMembersSearchFlags [get, set]
 Gets or sets the default members search flags. 더 자세히 ...
 
bool SerializeCompilerGeneratedMembers [get, set]
 Gets or sets a value indicating whether compiler generated members should be serialized. 더 자세히 ...
 

상세한 설명

Used by JsonSerializer to resolves a JsonContract for a given Type.

생성자 & 소멸자 문서화

Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultContractResolver ( )
inline

Initializes a new instance of the DefaultContractResolver class.

Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultContractResolver ( bool  shareCache)
inline

Initializes a new instance of the DefaultContractResolver class.

매개변수
shareCacheIf set to true the DefaultContractResolver will use a cached shared with other resolvers of the same type. Sharing the cache will significantly performance because expensive reflection will only happen once but could cause unexpected behavior if different instances of the resolver are suppose to produce different results. When set to false it is highly recommended to reuse DefaultContractResolver instances with the JsonSerializer.

멤버 함수 문서화

virtual JsonArrayContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateArrayContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonArrayContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonArrayContract for the given type.
virtual JsonContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract ( Type  objectType)
inlineprotectedvirtual

Determines which contract type is created for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonContract for the given type.
virtual JsonDictionaryContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDictionaryContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonDictionaryContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonDictionaryContract for the given type.
virtual JsonDynamicContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDynamicContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonDynamicContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonDynamicContract for the given type.
virtual JsonISerializableContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateISerializableContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonISerializableContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonISerializableContract for the given type.
virtual JsonLinqContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateLinqContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonLinqContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonLinqContract for the given type.
virtual IValueProvider Newtonsoft.Json.Serialization.DefaultContractResolver.CreateMemberValueProvider ( MemberInfo  member)
inlineprotectedvirtual

Creates the IValueProvider used by the serializer to get and set values from a member.

매개변수
memberThe member.
반환값
The IValueProvider used by the serializer to get and set values from a member.
virtual JsonObjectContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonObjectContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonObjectContract for the given type.
virtual JsonPrimitiveContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreatePrimitiveContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonPrimitiveContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonPrimitiveContract for the given type.
virtual IList<JsonProperty> Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperties ( Type  type,
MemberSerialization  memberSerialization 
)
inlineprotectedvirtual

Creates properties for the given JsonContract.

매개변수
typeThe type to create properties for.

///

매개변수
memberSerializationThe member serialization mode for the type.
반환값
Properties for the given JsonContract.
virtual JsonProperty Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperty ( MemberInfo  member,
MemberSerialization  memberSerialization 
)
inlineprotectedvirtual

Creates a JsonProperty for the given MemberInfo.

매개변수
memberSerializationThe member's parent MemberSerialization.
memberThe member to create a JsonProperty for.
반환값
A created JsonProperty for the given MemberInfo.
virtual JsonStringContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateStringContract ( Type  objectType)
inlineprotectedvirtual

Creates a JsonStringContract for the given type.

매개변수
objectTypeType of the object.
반환값
A JsonStringContract for the given type.
virtual List<MemberInfo> Newtonsoft.Json.Serialization.DefaultContractResolver.GetSerializableMembers ( Type  objectType)
inlineprotectedvirtual

Gets the serializable members for the type.

매개변수
objectTypeThe type to get serializable members for.
반환값
The serializable members for the type.
virtual JsonContract Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract ( Type  type)
inlinevirtual

Resolves the contract for a given type.

매개변수
typeThe type to resolve a contract for.
반환값
The contract for a given type.

Newtonsoft.Json.Serialization.IContractResolver를 구현.

virtual JsonConverter Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContractConverter ( Type  objectType)
inlineprotectedvirtual

Resolves the default JsonConverter for the contract.

매개변수
objectTypeType of the object.
반환값
virtual string Newtonsoft.Json.Serialization.DefaultContractResolver.ResolvePropertyName ( string  propertyName)
inlineprotectedvirtual

Resolves the name of the property.

매개변수
propertyNameName of the property.
반환값
Name of the property.

Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver에서 재구현되었습니다.

속성 문서화

BindingFlags Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultMembersSearchFlags
getset

Gets or sets the default members search flags.

The default members search flags.

bool Newtonsoft.Json.Serialization.DefaultContractResolver.DynamicCodeGeneration
get

Gets a value indicating whether members are being get and set using dynamic code generation. This value is determined by the runtime permissions available.

true if using dynamic code generation; otherwise, false.

bool Newtonsoft.Json.Serialization.DefaultContractResolver.SerializeCompilerGeneratedMembers
getset

Gets or sets a value indicating whether compiler generated members should be serialized.

true if serialized compiler generated members; otherwise, false.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: