C# 클래스 ServiceStack.Wire.WireFormat

상속: IPlugin, IWirePlugin
파일 보기 프로젝트 열기: ServiceStack/ServiceStack

공개 프로퍼티들

프로퍼티 타입 설명
WireSerializer Serializer

공개 메소드들

메소드 설명
Deserialize ( Type type, Stream fromStream ) : object
HandleException ( Exception ex, Type type ) : object

MsgPack throws an exception for empty DTO's - normalizing the behavior to follow other types and return an empty instance.

Register ( IAppHost appHost ) : void
Serialize ( IRequest requestContext, object dto, Stream outputStream ) : void
Serialize ( object dto, Stream outputStream ) : void

메소드 상세

Deserialize() 공개 정적인 메소드

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

HandleException() 공개 정적인 메소드

MsgPack throws an exception for empty DTO's - normalizing the behavior to follow other types and return an empty instance.
public static HandleException ( Exception ex, Type type ) : object
ex System.Exception
type System.Type
리턴 object

Register() 공개 메소드

public Register ( IAppHost appHost ) : void
appHost IAppHost
리턴 void

Serialize() 공개 정적인 메소드

public static Serialize ( IRequest requestContext, object dto, Stream outputStream ) : void
requestContext IRequest
dto object
outputStream Stream
리턴 void

Serialize() 공개 정적인 메소드

public static Serialize ( object dto, Stream outputStream ) : void
dto object
outputStream Stream
리턴 void

프로퍼티 상세

WireSerializer 공개적으로 정적으로 프로퍼티

public static Serializer WireSerializer
리턴 Serializer