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

Used to release a single semaphore.
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Méthode 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 méthode

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

Releaser() public méthode

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