Class ResponseSerializerProviderOptions
Options for default response serializer provider.
Inheritance
System.Object
ResponseSerializerProviderOptions
Namespace: TehGM.Wolfringo.Messages.Serialization
Assembly: Wolfringo.Core.dll
Syntax
public class ResponseSerializerProviderOptions
Properties
| Improve this Doc View SourceDefaultHistorySerializer
Default chat history serializer.
Declaration
protected static IResponseSerializer DefaultHistorySerializer { get; }
Property Value
Type | Description |
---|---|
IResponseSerializer |
Remarks
This serializer is used for multiple mappings in default Serializers.
DefaultSerializer
Default serializer.
Declaration
protected static IResponseSerializer DefaultSerializer { get; }
Property Value
Type | Description |
---|---|
IResponseSerializer |
Remarks
This serializer is used for multiple mappings in default Serializers.
FallbackSerializer
Fallback serializer that can be used if key has no mapped serializer.
Declaration
public IResponseSerializer FallbackSerializer { get; set; }
Property Value
Type | Description |
---|---|
IResponseSerializer |
Remarks
Note that this serializer cannot be used for deserialization, and will be used only for serialization.
Defaults to DefaultResponseSerializer.
Serializers
Map for response type and assigned response serializer.
Declaration
public IDictionary<Type, IResponseSerializer> Serializers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, IResponseSerializer> |