C# 클래스 LightNode.Formatter.TextContentFormatter

상속: ContentFormatterBase
파일 보기 프로젝트 열기: neuecc/LightNode

공개 메소드들

메소드 설명
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

메소드 상세

Deserialize() 공개 메소드

public Deserialize ( Type type, Stream stream ) : object
type System.Type
stream Stream
리턴 object

Serialize() 공개 메소드

public Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
리턴 void

TextContentFormatter() 공개 메소드

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

TextContentFormatter() 공개 메소드

public TextContentFormatter ( string mediaType = "text/plain", string ext = "txt" ) : LightNode.Core
mediaType string
ext string
리턴 LightNode.Core