Class SerializedNodeUpgrade
SerializedNodeUpgrade, upgrade module for nodes. Implements the UpgradeModule
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[UpgradeEngine(typeof(SerializedNode))]
public class SerializedNodeUpgrade : UpgradeModule
Methods
GetPatch(Int32)
Gets the patch.
Declaration
protected override UpgradeModule.Patch GetPatch(int version)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | version | The version. |
Returns
| Type | Description |
|---|---|
| UpgradeModule.Patch | Patch. |
Overrides
UpgradeV1(SystemGraphData, VersionedStruct)
Upgrades to v1.
Declaration
public static bool UpgradeV1(SystemGraphData ctx, VersionedStruct upgradedStruct)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemGraphData | ctx | The graph data. |
| VersionedStruct | upgradedStruct | The upgraded structure. |
Returns
| Type | Description |
|---|---|
| Boolean |
|