C# Class vlko.core.RavenDB.Repository.ReferenceProxy.ReferenceConverter

Inheritance: Raven.Imports.Newtonsoft.Json.JsonConverter
Mostra file Open project: vlko/vlko Class Usage Examples

Public Methods

Method Description
CanConvert ( Type objectType ) : bool
ReadJson ( Raven.Imports.Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
ReferenceConverter ( DocumentConvention documentConvention ) : System
WriteJson ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : void

Method Details

CanConvert() public method

public CanConvert ( Type objectType ) : bool
objectType System.Type
return bool

ReadJson() public method

public ReadJson ( Raven.Imports.Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
reader Raven.Imports.Newtonsoft.Json.JsonReader
objectType System.Type
existingValue object
serializer JsonSerializer
return object

ReferenceConverter() public method

public ReferenceConverter ( DocumentConvention documentConvention ) : System
documentConvention Raven.Client.Document.DocumentConvention
return System

WriteJson() public method

public WriteJson ( Raven.Imports.Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer ) : void
writer Raven.Imports.Newtonsoft.Json.JsonWriter
value object
serializer JsonSerializer
return void