Table of Contents

Class StopPlugins

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the StopPlugins command

public sealed class StopPlugins : StopPlugins
Inheritance
StopPlugins
Inherited Members

Constructors

StopPlugins(CommandFactory, ObjectModel, IOptions<Settings>)

Implementation of the StopPlugins command

public StopPlugins(CommandFactory commandFactory, ObjectModel model, IOptions<Settings> settings)

Parameters

commandFactory CommandFactory

Command factory

model ObjectModel

Object model

settings IOptions<Settings>

Settings

Methods

ExecuteAsync(CancellationToken)

Stop all the plugins

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task