C# Class MessageBus.Core.JsonSerializer

Inheritance: ISerializer
Exibir arquivo Open project: parshim/MessageBus Class Usage Examples

Public Methods

Method Description
Deserialize ( DataContractKey dataContractKey, Type dataType, byte body ) : object
JsonSerializer ( JsonSerializerSettings settings ) : System
Serialize ( MessageBus.Core.API.RawBusMessage busMessage ) : byte[]

Method Details

Deserialize() public method

public Deserialize ( DataContractKey dataContractKey, Type dataType, byte body ) : object
dataContractKey DataContractKey
dataType System.Type
body byte
return object

JsonSerializer() public method

public JsonSerializer ( JsonSerializerSettings settings ) : System
settings Newtonsoft.Json.JsonSerializerSettings
return System

Serialize() public method

public Serialize ( MessageBus.Core.API.RawBusMessage busMessage ) : byte[]
busMessage MessageBus.Core.API.RawBusMessage
return byte[]