C# Class LightNode.Formatter.ContentFormatterBase

Inheritance: IContentFormatter
Afficher le fichier Open project: neuecc/LightNode

Méthodes publiques

Méthode Description
ContentFormatterBase ( string mediaType, string ext, Encoding encoding ) : LightNode.Core
Deserialize ( Type type, Stream stream ) : object
Serialize ( Stream stream, object obj ) : void

Method Details

ContentFormatterBase() public méthode

public ContentFormatterBase ( string mediaType, string ext, Encoding encoding ) : LightNode.Core
mediaType string
ext string
encoding System.Text.Encoding
Résultat LightNode.Core

Deserialize() public abstract méthode

public abstract Deserialize ( Type type, Stream stream ) : object
type System.Type
stream Stream
Résultat object

Serialize() public abstract méthode

public abstract Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
Résultat void