C# Class HealthMonitoring.SelfHost.Configuration.TextMediaTypeFormatter

Inheritance: System.Net.Http.Formatting.MediaTypeFormatter
ファイルを表示 Open project: wongatech/HealthMonitoring Class Usage Examples

Public Methods

Method Description
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
TextMediaTypeFormatter ( ) : System

Private Methods

Method Description
GetEncoding ( HttpContent content ) : Encoding

Method Details

CanReadType() public method

public CanReadType ( Type type ) : bool
type System.Type
return bool

CanWriteType() public method

public CanWriteType ( Type type ) : bool
type System.Type
return bool

ReadFromStreamAsync() public method

public ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
type System.Type
readStream Stream
content System.Net.Http.HttpContent
formatterLogger IFormatterLogger
return Task

TextMediaTypeFormatter() public method

public TextMediaTypeFormatter ( ) : System
return System