SerializeVersion
Class in Arbor / Inherits from: object
Description
Perform version management with the class of Serializable attribute.
Properties
| Property Name | Description |
|---|---|
| isInitialized | Initialization flag. |
| isVersioning | Version control flag |
| version | Version number |
Methods
| Method Name | Description |
|---|---|
| AfterDeserialize | Processing after deserialization. Types with SerializeVersion need to call this method from ISerializationCallbackReceiver.OnAfterDeserialize(). |
| BeforeDeserialize | Processing before serialization. Types with SerializeVersion need to call this method from ISerializationCallbackReceiver.OnBeforeDeserialize(). |
| Initialize | Perform initialization. Types with SerializeVersion need to call this method in the constructor. |
| InitializeIfNecessary | Perform initialization if necessary. |
| ToString | Returns version information as a string. |
| VersioningIfNesessory | If necessary to migrate to version control. |