C# Class ParkerFox.Site.Component.MediaTypeFormatters.BsonMediaTypeFormatter

http://www.strathweb.com/2012/07/bson-binary-json-and-how-your-web-api-can-be-even-faster/
Inheritance: System.Net.Http.Formatting.MediaTypeFormatter
Afficher le fichier Open project: KHProjects/KH-Parker-Fox

Méthodes publiques

Méthode Description
BsonMediaTypeFormatter ( ) : System
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
ReadFromStreamAsync ( Type type, Stream readStream, System content, IFormatterLogger formatterLogger ) : Task
WriteToStreamAsync ( Type type, object value, Stream writeStream, System content, System transportContext ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
CreateDefaultSerializerSettings ( ) : JsonSerializerSettings

Method Details

BsonMediaTypeFormatter() public méthode

public BsonMediaTypeFormatter ( ) : System
Résultat System

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, System content, IFormatterLogger formatterLogger ) : Task
type System.Type
readStream Stream
content System
formatterLogger IFormatterLogger
Résultat Task

WriteToStreamAsync() public méthode

public WriteToStreamAsync ( Type type, object value, Stream writeStream, System content, System transportContext ) : System.Threading.Tasks.Task
type System.Type
value object
writeStream Stream
content System
transportContext System
Résultat System.Threading.Tasks.Task