C# Class withSIX.Core.Helpers.AsyncLock

Inheritance: IDisposable
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
AsyncLock ( ) : System
Dispose ( ) : void
Lock ( ) : IDisposable
LockAsync ( ) : Task
LockAsync ( CancellationToken token ) : Task

Private Methods

Method Description
Release ( ) : void
Wait ( Task wait ) : Task

Method Details

AsyncLock() public method

public AsyncLock ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

Lock() public method

public Lock ( ) : IDisposable
return IDisposable

LockAsync() public method

public LockAsync ( ) : Task
return Task

LockAsync() public method

public LockAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task