Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    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 Source

    ResponseSerializerProviderOptions()

    Initializes a new instance of options using default values.

    Declaration
    public ResponseSerializerProviderOptions()

    Properties

    | Improve this Doc View Source

    ChatEmbedDeserializer

    Deserializer of chat embeds that will be used by serializers.

    Declaration
    public static IChatEmbedDeserializer ChatEmbedDeserializer { get; }
    Property Value
    Type Description
    IChatEmbedDeserializer
    | Improve this Doc View Source

    DefaultHistorySerializer

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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>

    See Also

    ResponseSerializerProvider