C# Class Raven.Light.Conventions.DefaultRavenContractResolver

The default json contract will serialize all properties and all public fields
Inheritance: Newtonsoft.Json.Serialization.DefaultContractResolver
Afficher le fichier Open project: hibernating-rhinos/Raven.Light Class Usage Examples

Méthodes publiques

Méthode Description
DefaultRavenContractResolver ( bool shareCache ) : System

Initializes a new instance of the DefaultRavenContractResolver class.

Méthodes protégées

Méthode Description
GetSerializableMembers ( Type objectType ) : System.Collections.Generic.List

Gets the serializable members for the type.

Private Methods

Méthode Description
MembersToFilterOut ( MemberInfo info ) : bool

Method Details

DefaultRavenContractResolver() public méthode

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 .
Résultat System

GetSerializableMembers() protected méthode

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.
Résultat System.Collections.Generic.List