C# Class MassTransit.SerializerConfigurationExtensions

Datei anzeigen Open project: MassTransit/MassTransit

Public Methods

Method Description
ConfigureJsonDeserializer ( this configurator, JsonSerializerSettings>.Func configure ) : void

Configure the serialization settings used to create the message deserializer

ConfigureJsonSerializer ( this configurator, JsonSerializerSettings>.Func configure ) : void

Configure the serialization settings used to create the message serializer

SupportBinaryMessageDeserializer ( this configurator ) : void

Add support for the binary message deserializer to the bus. This serializer is not supported by default.

UseBinarySerializer ( this configurator ) : void

Serialize message using the .NET binary formatter (also adds support for the binary deserializer)

UseBsonSerializer ( this configurator ) : void

Serialize messages using the BSON message serializer

UseEncryptedSerializer ( this configurator, ICryptoStreamProvider streamProvider ) : void
UseJsonSerializer ( this configurator ) : void

Serialize messages using the JSON serializer

UseXmlSerializer ( this configurator ) : void

Serialize messages using the XML message serializer

Method Details

ConfigureJsonDeserializer() public static method

Configure the serialization settings used to create the message deserializer
public static ConfigureJsonDeserializer ( this configurator, JsonSerializerSettings>.Func configure ) : void
configurator this
configure JsonSerializerSettings>.Func
return void

ConfigureJsonSerializer() public static method

Configure the serialization settings used to create the message serializer
public static ConfigureJsonSerializer ( this configurator, JsonSerializerSettings>.Func configure ) : void
configurator this
configure JsonSerializerSettings>.Func
return void

SupportBinaryMessageDeserializer() public static method

Add support for the binary message deserializer to the bus. This serializer is not supported by default.
public static SupportBinaryMessageDeserializer ( this configurator ) : void
configurator this
return void

UseBinarySerializer() public static method

Serialize message using the .NET binary formatter (also adds support for the binary deserializer)
public static UseBinarySerializer ( this configurator ) : void
configurator this
return void

UseBsonSerializer() public static method

Serialize messages using the BSON message serializer
public static UseBsonSerializer ( this configurator ) : void
configurator this
return void

UseEncryptedSerializer() public static method

public static UseEncryptedSerializer ( this configurator, ICryptoStreamProvider streamProvider ) : void
configurator this
streamProvider ICryptoStreamProvider
return void

UseJsonSerializer() public static method

Serialize messages using the JSON serializer
public static UseJsonSerializer ( this configurator ) : void
configurator this
return void

UseXmlSerializer() public static method

Serialize messages using the XML message serializer
public static UseXmlSerializer ( this configurator ) : void
configurator this
return void