C# Класс Microsoft.Azure.WebJobs.Script.WebHost.PlaintextMediaTypeFormatter

Наследование: System.Net.Http.Formatting.MediaTypeFormatter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
PlaintextMediaTypeFormatter ( ) : System
ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
WriteToStreamAsync ( Type type, object value, Stream writeStream, HttpContent content, System.Net.TransportContext transportContext, CancellationToken cancellationToken ) : Task

Описание методов

CanReadType() публичный Метод

public CanReadType ( Type type ) : bool
type System.Type
Результат bool

CanWriteType() публичный Метод

public CanWriteType ( Type type ) : bool
type System.Type
Результат bool

PlaintextMediaTypeFormatter() публичный Метод

public PlaintextMediaTypeFormatter ( ) : System
Результат System

ReadFromStreamAsync() публичный Метод

public ReadFromStreamAsync ( Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger ) : Task
type System.Type
readStream Stream
content System.Net.Http.HttpContent
formatterLogger IFormatterLogger
Результат Task

WriteToStreamAsync() публичный Метод

public WriteToStreamAsync ( Type type, object value, Stream writeStream, HttpContent content, System.Net.TransportContext transportContext, CancellationToken cancellationToken ) : Task
type System.Type
value object
writeStream Stream
content System.Net.Http.HttpContent
transportContext System.Net.TransportContext
cancellationToken System.Threading.CancellationToken
Результат Task