C# 클래스 ParkerFox.Site.Component.MediaTypeFormatters.BsonMediaTypeFormatter

http://www.strathweb.com/2012/07/bson-binary-json-and-how-your-web-api-can-be-even-faster/
상속: System.Net.Http.Formatting.MediaTypeFormatter
파일 보기 프로젝트 열기: KHProjects/KH-Parker-Fox

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CreateDefaultSerializerSettings ( ) : JsonSerializerSettings

메소드 상세

BsonMediaTypeFormatter() 공개 메소드

public BsonMediaTypeFormatter ( ) : System
리턴 System

CanReadType() 공개 메소드

public CanReadType ( Type type ) : bool
type System.Type
리턴 bool

CanWriteType() 공개 메소드

public CanWriteType ( Type type ) : bool
type System.Type
리턴 bool

ReadFromStreamAsync() 공개 메소드

public ReadFromStreamAsync ( Type type, Stream readStream, System content, IFormatterLogger formatterLogger ) : Task
type System.Type
readStream Stream
content System
formatterLogger IFormatterLogger
리턴 Task

WriteToStreamAsync() 공개 메소드

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
리턴 System.Threading.Tasks.Task