Class HumlTypeInfo

Namespace
Huml.Net.Serialization
Assembly
Huml.Net.dll

Non-generic base class for type metadata used in HUML (de)serialisation. This base allows GetTypeInfo(Type, HumlOptions) to return a covariant result without requiring a type parameter at the call site.

public abstract class HumlTypeInfo
Inheritance
HumlTypeInfo
Derived
Inherited Members

Properties

OnDeserialized

Invoked after deserialisation is complete for an instance of this type. Null if not overridden.

public virtual Action<object>? OnDeserialized { get; }

Property Value

Action<object>

OnDeserializing

Invoked before deserialisation begins for an instance of this type. Null if not overridden.

public virtual Action<object>? OnDeserializing { get; }

Property Value

Action<object>

OnSerialized

Invoked after an instance of this type has been serialised. Null if not overridden.

public virtual Action<object>? OnSerialized { get; }

Property Value

Action<object>

OnSerializing

Invoked before an instance of this type is serialised. Null if not overridden.

public virtual Action<object>? OnSerializing { get; }

Property Value

Action<object>

Properties

The property metadata for this type, or null to fall through to the built-in reflection path. An empty list means "type has no properties"; null means "resolver does not supply property metadata for this type".

public virtual IReadOnlyList<HumlPropertyInfo>? Properties { get; }

Property Value

IReadOnlyList<HumlPropertyInfo>