C# Class HealthMonitoring.TestUtils.Awaitable.AsyncCountdown

显示文件 Open project: wongatech/HealthMonitoring Class Usage Examples

Public Methods

Method Description
AsyncCountdown ( string name, int number ) : System
Decrement ( ) : void
ResetTo ( int number ) : AsyncCountdown
WaitAsync ( System.TimeSpan timeout ) : Task

Method Details

AsyncCountdown() public method

public AsyncCountdown ( string name, int number ) : System
name string
number int
return System

Decrement() public method

public Decrement ( ) : void
return void

ResetTo() public method

public ResetTo ( int number ) : AsyncCountdown
number int
return AsyncCountdown

WaitAsync() public method

public WaitAsync ( System.TimeSpan timeout ) : Task
timeout System.TimeSpan
return Task