C# Класс Rebel.Framework.Serialization.AbstractSerializationService

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FromStream ( Stream input, Type outputType, string intent = null ) : object

Finds an IFormatter with a matching intent , and deserializes the Stream to an object graph.

ToStream ( object input, string intent = null ) : IStreamedResult

Finds an IFormatter with a matching intent , and serializes the object graph to an IStreamedResult .

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

FromStream() публичный абстрактный Метод

Finds an IFormatter with a matching intent , and deserializes the Stream to an object graph.
public abstract FromStream ( Stream input, Type outputType, string intent = null ) : object
input Stream
outputType System.Type
intent string
Результат object

ToStream() публичный абстрактный Метод

Finds an IFormatter with a matching intent , and serializes the object graph to an IStreamedResult .
public abstract ToStream ( object input, string intent = null ) : IStreamedResult
input object
intent string
Результат IStreamedResult