C# Class LightNode.Formatter.TextContentFormatter

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

Méthodes publiques

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

Method Details

Deserialize() public méthode

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

Serialize() public méthode

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

TextContentFormatter() public méthode

public TextContentFormatter ( Encoding encoding, string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core
encoding System.Text.Encoding
mediaType string
ext string
Résultat LightNode.Core

TextContentFormatter() public méthode

public TextContentFormatter ( string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core
mediaType string
ext string
Résultat LightNode.Core