C# Класс LightNode.Formatter.TextContentFormatter

Наследование: ContentFormatterBase
Показать файл Открыть проект

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

Метод Описание
Deserialize ( Type type, Stream stream ) : object
Serialize ( Stream stream, object obj ) : void
TextContentFormatter ( Encoding encoding, string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core
TextContentFormatter ( string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core

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

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

public Deserialize ( Type type, Stream stream ) : object
type System.Type
stream Stream
Результат object

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

public Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
Результат void

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

public TextContentFormatter ( Encoding encoding, string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core
encoding System.Text.Encoding
mediaType string
ext string
Результат LightNode.Core

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

public TextContentFormatter ( string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core
mediaType string
ext string
Результат LightNode.Core