Custom Element Serialization [Writable]Last Updated: 12/09/2015 Introduced in Verision: 2.0
Serialization of elements (like flow steps, page elements) is handled by a mechanism called ‘Writable’.
This mechanism has 2 ways of being accessed:
– attributes marking up an object
The simple mechanism is to use the [Writable]and [WritableValue] attributes to mark which elements need to be serialized.
Below is example of using attributes to specify serialization.
public class BaseSegmentStep
Each field or property that needs to be stored must be marked with a [WritableValue] attribute.