Class InstallPlugin
Implementation of the InstallPlugin command
Inherited Members
Namespace: DuetControlServer.Commands
Assembly: DuetControlServer.dll
Syntax
public sealed class InstallPlugin : InstallPlugin
Properties
Upgrade
Internal flag to indicate that custom plugin files should not be purged
Declaration
public bool Upgrade { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Execute()
Install or upgrade a plugin
Declaration
public override Task Execute()
Returns
| Type | Description |
|---|---|
| Task | Asynchronous task |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Plugin is incompatible |