Class BaseCommandConnection.ObjectModelLock
- Namespace
- DuetAPIClient
- Assembly
- DuetAPIClient.dll
Internal class representing an object model lock
public sealed class BaseCommandConnection.ObjectModelLock : IDisposable, IAsyncDisposable
- Inheritance
-
BaseCommandConnection.ObjectModelLock
- Implements
- Inherited Members
Constructors
ObjectModelLock(BaseCommandConnection)
Internal class representing an object model lock
public ObjectModelLock(BaseCommandConnection connection)
Parameters
connectionBaseCommandConnectionConnection that acquired the lock
Methods
Dispose()
Dispose the lock again
public void Dispose()
DisposeAsync()
Dispose the lock again asynchronously
public ValueTask DisposeAsync()
Returns
- ValueTask
Asynchronous task