C# Класс IServiceOriented.ServiceBus.Threading.CountdownLatch

Used for countdown events. When the count reaches zero, the event will be set.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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;

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Описание методов

CountdownLatch() публичный Метод

public CountdownLatch ( int count ) : System
count int
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Reset() публичный Метод

Reset the count and set the event to non signalled.
public Reset ( int count ) : void
count int
Результат void

Tick() публичный Метод

Decrement the count. Set the event to signalled if the count is zero;
public Tick ( ) : int
Результат int