C# Class Pomona.Common.Web.HttpRequestMessageConverter

Inheritance: HttpMessageConverterBase
显示文件 Open project: Pomona/Pomona

Public Methods

Method Description
CanConvert ( Type objectType ) : bool
HttpRequestMessageConverter ( ) : System
HttpRequestMessageConverter ( 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

HttpRequestMessageConverter() public method

public HttpRequestMessageConverter ( ) : System
return System

HttpRequestMessageConverter() public method

public HttpRequestMessageConverter ( 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