Table of Contents

Class SetPluginData

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the SetPluginData command

public sealed class SetPluginData : SetPluginData, IConnectionCommand
Inheritance
SetPluginData
Implements
Inherited Members

Constructors

SetPluginData(ObjectModel, IOptions<Settings>)

Implementation of the SetPluginData command

public SetPluginData(ObjectModel model, IOptions<Settings> settings)

Parameters

model ObjectModel

Object model

settings IOptions<Settings>

Settings

Properties

Connection

Source connection of this command

public Connection? Connection { get; set; }

Property Value

Connection

Methods

ExecuteAsync(CancellationToken)

Set custom plugin data in the object model

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task