C# Class TileCook.API.Formatting.ExtendedXmlMediaTypeFormatter

Inheritance: System.Net.Http.Formatting.MediaTypeFormatter
Afficher le fichier Open project: jbrwn/tc

Méthodes publiques

Méthode 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 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

ExtendedXmlMediaTypeFormatter() public méthode

public ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces ) : System
namespaces System.Xml.Serialization.XmlSerializerNamespaces
Résultat System

ExtendedXmlMediaTypeFormatter() public méthode

public ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces, XmlWriterSettings writerSettings ) : System
namespaces System.Xml.Serialization.XmlSerializerNamespaces
writerSettings System.Xml.XmlWriterSettings
Résultat System

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.Net.TransportContext transportContext ) : System.Threading.Tasks.Task
type System.Type
value object
writeStream Stream
content System
transportContext System.Net.TransportContext
Résultat System.Threading.Tasks.Task