C# Class WebApplications.Utilities.Threading.AsyncSemaphore.Releaser

Used to release a single semaphore.
ファイルを表示 Open project: webappsuk/CoreLibraries

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Releaser ( AsyncSemaphore semaphore ) : System

Initializes a new instance of the Releaser struct.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Releaser() public method

Initializes a new instance of the Releaser struct.
public Releaser ( AsyncSemaphore semaphore ) : System
semaphore AsyncSemaphore The semaphore.
return System