Show / Hide Table of Contents

    Class GenericQcSerializer

    Serializer for all types that are generic constructions of a single type.

    Inheritance
    Object
    GenericQcSerializer
    KeyValuePairSerializer
    Implements
    IQcSerializer
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    public abstract class GenericQcSerializer : IQcSerializer

    Constructors

    GenericQcSerializer()

    Declaration
    protected GenericQcSerializer()

    Properties

    GenericType

    The incomplete generic type of this serializer.

    Declaration
    protected abstract Type GenericType { get; }
    Property Value
    Type Description
    Type

    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(Object, QuantumTheme)

    Declaration
    public abstract string SerializeFormatted(object value, QuantumTheme theme)
    Parameters
    Type Name Description
    Object 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