C# Класс PlainTextFormatterSample.Formatters.PlainTextFormatter

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

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

Метод Описание
CanReadType ( Type type ) : bool
CanWriteType ( Type type ) : bool
PlainTextFormatter ( ) : System
ReadFromStream ( Type type, Stream stream, HttpContent content, IFormatterLogger formatterLogger ) : object
WriteToStream ( Type type, object value, Stream stream, HttpContent content ) : void

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

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

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

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

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

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

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

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

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

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

public WriteToStream ( Type type, object value, Stream stream, HttpContent content ) : void
type System.Type
value object
stream Stream
content System.Net.Http.HttpContent
Результат void