Improve this Doc View Source

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 Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

LockAsync()

Declaration
public Task<IDisposable> LockAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.IDisposable>