C# Class Pomona.Common.Web.HttpResponseMessageConverter

Inheritance: HttpMessageConverterBase
Mostra file Open project: Pomona/Pomona

Public Methods

Method Description
CanConvert ( Type objectType ) : bool
HttpResponseMessageConverter ( ) : System
HttpResponseMessageConverter ( HttpMessageContentWriter contentWriter ) : System
ReadJson ( JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer ) : object
WriteJson ( JsonWriter writer, object value, JsonSerializer serializer ) : void

Method Details

CanConvert() public method

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

HttpResponseMessageConverter() public method

public HttpResponseMessageConverter ( ) : System
return System

HttpResponseMessageConverter() public method

public HttpResponseMessageConverter ( HttpMessageContentWriter contentWriter ) : System
contentWriter HttpMessageContentWriter
return System

ReadJson() public method

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

WriteJson() public method

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