Class AsyncLock
A simple class to make it possible to lock a resource while waiting
Inheritance
System.Object
AsyncLock
Namespace:Dapplo.HttpExtensions.Support
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class AsyncLock : IDisposable
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Finalize()
Declaration
protected void Finalize()
LockAsync()
Declaration
public Task<IDisposable> LockAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.IDisposable> |