C# Класс ServiceStack.Wire.WireFormat

Наследование: IPlugin, IWirePlugin
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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