Table of Contents

Class InstallSystemPackage

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the InstallSystemPackage command

public sealed class InstallSystemPackage : InstallSystemPackage
Inheritance
InstallSystemPackage
Inherited Members

Constructors

InstallSystemPackage(CommandFactory, IOptions<Settings>)

Implementation of the InstallSystemPackage command

public InstallSystemPackage(CommandFactory commandFactory, IOptions<Settings> settings)

Parameters

commandFactory CommandFactory

Command factory

settings IOptions<Settings>

Settings

Methods

ExecuteAsync(CancellationToken)

Install or upgrade a system package

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task

Exceptions

ArgumentException

Package could not be installed