Table of Contents

Class NotifyPluginStarted

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the NotifyPluginStarted command

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

Constructors

NotifyPluginStarted(ObjectModel)

Implementation of the NotifyPluginStarted command

public NotifyPluginStarted(ObjectModel model)

Parameters

model ObjectModel

Object model

Fields

PluginStartedEvent

Event that is set when a plugin has started

public static readonly AsyncAutoResetEvent PluginStartedEvent

Field Value

AsyncAutoResetEvent

Properties

Connection

Source connection of this command

public Connection? Connection { get; set; }

Property Value

Connection

Methods

ExecuteAsync(CancellationToken)

Flag the plugin as started

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task