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
lockManagerLockManagerLock manager
Properties
Connection
Source connection of this command. Needed to register the owner of the lock
public Connection? Connection { get; set; }
Property Value
Methods
ExecuteAsync(CancellationToken)
Unlock the machine model again
public override Task ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task