C# Class Rebel.Framework.Serialization.AbstractSerializationService

Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
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 .

Method Details

FromStream() public abstract méthode

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
Résultat object

ToStream() public abstract méthode

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
Résultat IStreamedResult