C# 클래스 TileCook.API.Formatting.ExtendedXmlMediaTypeFormatter

상속: System.Net.Http.Formatting.MediaTypeFormatter
파일 보기 프로젝트 열기: jbrwn/tc

공개 메소드들

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

메소드 상세

CanReadType() 공개 메소드

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

CanWriteType() 공개 메소드

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

ExtendedXmlMediaTypeFormatter() 공개 메소드

public ExtendedXmlMediaTypeFormatter ( XmlSerializerNamespaces namespaces ) : System
namespaces System.Xml.Serialization.XmlSerializerNamespaces
리턴 System

ExtendedXmlMediaTypeFormatter() 공개 메소드

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

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