Table of Contents

Class UnlockObjectModel

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the UnlockObjectModel command

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

Constructors

UnlockObjectModel(LockManager)

Implementation of the UnlockObjectModel command

public UnlockObjectModel(LockManager lockManager)

Parameters

lockManager LockManager

Lock manager

Properties

Connection

Source connection of this command. Needed to register the owner of the lock

public Connection? Connection { get; set; }

Property Value

Connection

Methods

ExecuteAsync(CancellationToken)

Unlock the machine model again

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task