C# Класс Raven.Light.Conventions.DefaultRavenContractResolver

The default json contract will serialize all properties and all public fields
Наследование: Newtonsoft.Json.Serialization.DefaultContractResolver
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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