Show / Hide Table of Contents

    Class PolymorphicQcSerializer<T>

    Serializer for all types inheriting from a single type.

    Inheritance
    Object
    PolymorphicQcSerializer<T>
    IEnumerableSerializer<T>
    ITupleSerializer
    TypeSerialiazer
    UnityObjectSerializer
    Implements
    IQcSerializer
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    public abstract class PolymorphicQcSerializer<T> : IQcSerializer where T : class
    Type Parameters
    Name Description
    T

    Base type of the types to serialize.

    Properties

    Priority

    Declaration
    public virtual int Priority { get; }
    Property Value
    Type Description
    Int32

    Methods

    CanSerialize(Type)

    Declaration
    public bool CanSerialize(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    SerializeFormatted(T, QuantumTheme)

    Declaration
    public abstract string SerializeFormatted(T value, QuantumTheme theme)
    Parameters
    Type Name Description
    T value
    QuantumTheme theme
    Returns
    Type Description
    String

    SerializeRecursive(Object, QuantumTheme)

    Declaration
    protected string SerializeRecursive(object value, QuantumTheme theme)
    Parameters
    Type Name Description
    Object value
    QuantumTheme theme
    Returns
    Type Description
    String

    Explicit Interface Implementations

    IQcSerializer.SerializeFormatted(Object, QuantumTheme, Func<Object, QuantumTheme, String>)

    Declaration
    string IQcSerializer.SerializeFormatted(object value, QuantumTheme theme, Func<object, QuantumTheme, string> recursiveSerializer)
    Parameters
    Type Name Description
    Object value
    QuantumTheme theme
    Func<Object, QuantumTheme, String> recursiveSerializer
    Returns
    Type Description
    String

    Implements

    IQcSerializer

    Extension Methods

    ArraySingleExtensions.AsArraySingle<T>(T)
    CollectionExtensions.Yield<T>(T)
    Quantum Console by QFSW
    Back to top