C# Class Clearwave.SqlDocDB.Client.Document.DefaultRavenContractResolver

The default json contract will serialize all properties and all public fields
Inheritance: Newtonsoft.Json.Serialization.DefaultContractResolver
Show file Open project: clearwavebuild/SqlDocDB Class Usage Examples

Public Methods

Method Description
DefaultRavenContractResolver ( bool shareCache ) : System

Initializes a new instance of the DefaultRavenContractResolver class.

Protected Methods

Method Description
GetSerializableMembers ( Type objectType ) : System.Collections.Generic.List

Gets the serializable members for the type.

Private Methods

Method Description
MembersToFilterOut ( MemberInfo info ) : bool

Method Details

DefaultRavenContractResolver() public method

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 .
return System

GetSerializableMembers() protected method

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.
return System.Collections.Generic.List