Enum DataMemberMode
Specify the way to store a property or field of some class or structure.
public enum DataMemberMode
Fields
Assign = 1
When restored, new object is created by using the parameters in the YAML data and assigned to the property / field. When the property / field is writeable, this is the default.
Content = 2
Only valid for a property / field that return a class, no strings, primitives or value types. When restored, instead of recreating the whole class, the members are independently restored. When the property / field is not writeable this is the default.
Default = 0
Use the default mode depending on the type of the field/property.
Never = 4
The property / field will not be stored.