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
Constructors
| Improve this Doc View SourceResponseSerializerProviderOptions()
Initializes a new instance of options using default values.
Declaration
public ResponseSerializerProviderOptions()
See Also
Properties
| Improve this Doc View SourceChatEmbedDeserializer
Deserializer of chat embeds that will be used by serializers.
Declaration
public static IChatEmbedDeserializer ChatEmbedDeserializer { get; }
Property Value
| Type | Description |
|---|---|
| IChatEmbedDeserializer |
See Also
| 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.
See Also
| Improve this Doc View SourceDefaultSerializer
Default serializer.
Declaration
protected static IResponseSerializer DefaultSerializer { get; }
Property Value
| Type | Description |
|---|---|
| IResponseSerializer |
Remarks
This serializer is used for multiple mappings in default Serializers.
See Also
| Improve this Doc View SourceFallbackSerializer
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.
See Also
| Improve this Doc View SourceSerializers
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> |