Class MessageSerializerProviderOptions
Options for default message serializer provider.
Namespace: TehGM.Wolfringo.Messages.Serialization
Assembly: Wolfringo.Core.dll
Syntax
public class MessageSerializerProviderOptions
Properties
| Improve this Doc View SourceFallbackSerializer
Fallback serializer that can be used if key has no mapped serializer.
Declaration
public IMessageSerializer FallbackSerializer { get; set; }
Property Value
Type | Description |
---|---|
IMessageSerializer |
Remarks
Note that this serializer cannot be used for deserialization, and will be used only for serialization.
Defaults to DefaultMessageSerializer<T>, where T is IWolfMessage.
Serializers
Map for event type and assigned message serializer.
Declaration
public IDictionary<string, IMessageSerializer> Serializers { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<String, IMessageSerializer> |