C# Class IServiceOriented.ServiceBus.Threading.CountdownLatch

Used for countdown events. When the count reaches zero, the event will be set.
Inheritance: IDisposable
Afficher le fichier Open project: jezell/iserviceoriented Class Usage Examples

Méthodes publiques

Méthode Description
CountdownLatch ( int count ) : System
Dispose ( ) : void
Reset ( int count ) : void

Reset the count and set the event to non signalled.

Tick ( ) : int

Decrement the count. Set the event to signalled if the count is zero;

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

CountdownLatch() public méthode

public CountdownLatch ( int count ) : System
count int
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Reset() public méthode

Reset the count and set the event to non signalled.
public Reset ( int count ) : void
count int
Résultat void

Tick() public méthode

Decrement the count. Set the event to signalled if the count is zero;
public Tick ( ) : int
Résultat int