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

Used to release multiple semaphores that have been waited on by WaitAllAsync.
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Свойство Type Description
Default IDisposable

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AllReleaser ( int count ) : System

Initializes a new instance of the AllReleaser struct.

Dispose ( ) : void

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

Method Details

AllReleaser() public méthode

Initializes a new instance of the AllReleaser struct.
public AllReleaser ( int count ) : System
count int The total possible number of semaphores.
Résultat System

Dispose() public méthode

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

Property Details

Default public_oe static_oe property

A default instance of the releaser that does nothing.
public static IDisposable Default
Résultat IDisposable