C# Class Spark.Formatters.BinaryFhirFormatter

Inheritance: Spark.Formatters.FhirMediaTypeFormatter
显示文件 Open project: raysearchlabs/spark

Public Methods

Method Description
BinaryFhirFormatter ( ) : System
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
WriteToStreamAsync ( Type type, object value, Stream writeStream, HttpContent content, System transportContext ) : System.Threading.Tasks.Task

Method Details

BinaryFhirFormatter() public method

public BinaryFhirFormatter ( ) : System
return System

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

WriteToStreamAsync() public method

public WriteToStreamAsync ( Type type, object value, Stream writeStream, HttpContent content, System transportContext ) : System.Threading.Tasks.Task
type System.Type
value object
writeStream Stream
content System.Net.Http.HttpContent
transportContext System
return System.Threading.Tasks.Task