Class SerializedParameterUpgrade
SerializedParameterUpgrade, upgrade module for parameters. Implements the UpgradeModule
Inherited Members
Namespace: Mechatronics.SystemGraph
Syntax
[UpgradeEngine(typeof(SerializedParameter))]
public class SerializedParameterUpgrade : UpgradeModule
Methods
GetPatch(Int32)
Gets the patch by version.
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 data, VersionedStruct upgradedStruct)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemGraphData | data | The data. |
| VersionedStruct | upgradedStruct | The upgraded structure. |
Returns
| Type | Description |
|---|---|
| Boolean |
|