C# 클래스 Raven.Light.Conventions.DefaultRavenContractResolver

The default json contract will serialize all properties and all public fields
상속: Newtonsoft.Json.Serialization.DefaultContractResolver
파일 보기 프로젝트 열기: hibernating-rhinos/Raven.Light 1 사용 예제들

공개 메소드들

메소드 설명
DefaultRavenContractResolver ( bool shareCache ) : System

Initializes a new instance of the DefaultRavenContractResolver class.

보호된 메소드들

메소드 설명
GetSerializableMembers ( Type objectType ) : System.Collections.Generic.List

Gets the serializable members for the type.

비공개 메소드들

메소드 설명
MembersToFilterOut ( MemberInfo info ) : bool

메소드 상세

DefaultRavenContractResolver() 공개 메소드

Initializes a new instance of the DefaultRavenContractResolver class.
public DefaultRavenContractResolver ( bool shareCache ) : System
shareCache bool If set to true the 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 instances with the .
리턴 System

GetSerializableMembers() 보호된 메소드

Gets the serializable members for the type.
protected GetSerializableMembers ( Type objectType ) : System.Collections.Generic.List
objectType System.Type The type to get serializable members for.
리턴 System.Collections.Generic.List