C# Класс NUnit.Framework.Internal.WorkItems.CountdownEvent

A simplified implementation of .NET 4 CountdownEvent for use in earlier versions of .NET. Only the methods used by NUnit are implemented.
Показать файл Открыть проект

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

Метод Описание
CountdownEvent ( int initialCount ) : System.Threading

Construct a CountdownEvent

Signal ( ) : void

Decrement the count by one

Wait ( ) : void

Block the thread until the count reaches zero

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

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

Construct a CountdownEvent
public CountdownEvent ( int initialCount ) : System.Threading
initialCount int The initial count
Результат System.Threading

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

Decrement the count by one
public Signal ( ) : void
Результат void

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

Block the thread until the count reaches zero
public Wait ( ) : void
Результат void