Class HumlPropertyInfo
- Namespace
- Huml.Net.Serialization
- Assembly
- Huml.Net.dll
Describes a single property for use during HUML (de)serialisation.
Mirroring JsonPropertyInfo, delegates are boxed non-generic to avoid
covariance and contravariance issues across the type hierarchy.
public class HumlPropertyInfo
- Inheritance
-
HumlPropertyInfo
- Inherited Members
Properties
Get
Reads the property value from a boxed owner instance.
public Func<object, object?>? Get { get; set; }
Property Value
IsRequired
Whether this property is required during deserialisation.
public bool IsRequired { get; set; }
Property Value
Name
The HUML key name for this property.
public string Name { get; set; }
Property Value
Order
Serialisation order; lower values are emitted first.
public int Order { get; set; }
Property Value
PropertyType
The CLR type of this property's value.
public Type? PropertyType { get; set; }
Property Value
Set
Writes the property value to a boxed owner instance.
public Action<object, object?>? Set { get; set; }