C# Class HealthMonitoring.SelfHost.Configuration.TextMediaTypeFormatter

Inheritance: System.Net.Http.Formatting.MediaTypeFormatter
Afficher le fichier Open project: wongatech/HealthMonitoring Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
GetEncoding ( HttpContent content ) : Encoding

Method Details

CanReadType() public méthode

public CanReadType ( Type type ) : bool
type System.Type
Résultat bool

CanWriteType() public méthode

public CanWriteType ( Type type ) : bool
type System.Type
Résultat bool

ReadFromStreamAsync() public méthode

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

TextMediaTypeFormatter() public méthode

public TextMediaTypeFormatter ( ) : System
Résultat System