Class UpgradeEngine
UpgradeEngine class handles upgrading mechanism for SystemGraph assets Implements the Attribute
Namespace: Mechatronics.SystemGraph
Syntax
public class UpgradeEngine : Attribute, _Attribute
Constructors
UpgradeEngine(Type)
Initializes a new instance of the UpgradeEngine class.
Declaration
public UpgradeEngine(Type upgradable)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | upgradable | The upgradable. |
Methods
GetModule(Type)
Gets the module by type.
Declaration
public static UpgradeModule GetModule(Type structType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | structType | Type of the structure. |
Returns
| Type | Description |
|---|---|
| UpgradeModule | UpgradeModule. |
RefreshUpgraderCache()
Refreshes the upgrader cache.
Declaration
public static void RefreshUpgraderCache()