C# Class LightNode.Formatter.ContentFormatterBase

Inheritance: IContentFormatter
Exibir arquivo Open project: neuecc/LightNode

Public Methods

Method 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 method

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

Deserialize() public abstract method

public abstract Deserialize ( Type type, Stream stream ) : object
type System.Type
stream Stream
return object

Serialize() public abstract method

public abstract Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
return void