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
modelObjectModelObject 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
Methods
ExecuteAsync(CancellationToken)
Flag the plugin as started
public override Task ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task