Class PolymorphicQcSerializer<T>
Serializer for all types inheriting from a single type.
Inheritance
PolymorphicQcSerializer<T>
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
Methods
CanSerialize(Type)
Declaration
public bool CanSerialize(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Declaration
public abstract string SerializeFormatted(T value, QuantumTheme theme)
Parameters
Returns
SerializeRecursive(Object, QuantumTheme)
Declaration
protected string SerializeRecursive(object value, QuantumTheme theme)
Parameters
Returns
Explicit Interface Implementations
Declaration
string IQcSerializer.SerializeFormatted(object value, QuantumTheme theme, Func<object, QuantumTheme, string> recursiveSerializer)
Parameters
Returns
Implements
Extension Methods