C# Class TileCook.API.Formatting.ExtendedXmlMediaTypeFormatter

Inheritance: System.Net.Http.Formatting.MediaTypeFormatter
Datei anzeigen Open project: jbrwn/tc

Public Methods

Method Description
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces ) : System
ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces, XmlWriterSettings writerSettings ) : System
ReadFromStreamAsync ( Type type, Stream readStream, System content, IFormatterLogger formatterLogger ) : Task
WriteToStreamAsync ( Type type, object value, Stream writeStream, System content, System.Net.TransportContext transportContext ) : System.Threading.Tasks.Task

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

ExtendedXmlMediaTypeFormatter() public method

public ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces ) : System
namespaces System.Xml.Serialization.XmlSerializerNamespaces
return System

ExtendedXmlMediaTypeFormatter() public method

public ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces, XmlWriterSettings writerSettings ) : System
namespaces System.Xml.Serialization.XmlSerializerNamespaces
writerSettings System.Xml.XmlWriterSettings
return System

ReadFromStreamAsync() public method

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

WriteToStreamAsync() public method

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