| TestLatch Methods |
The TestLatch type exposes the following members.
| Name | Description | |
|---|---|---|
| CountDown |
Count down the latch.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Open |
Make this instance become open.
| |
| Ready |
Expects the latch to become open within the default timeout. If the timeout is reached, a
TimeoutException is thrown.
If no timeout was specified when creating this instance, 5 seconds is used. If this instance has been created using TestKit.CreateTestLatch the default timeout from DefaultTimeout is used and dilated, i.e. multiplied by TestTimeFactor | |
| Ready(TimeSpan) |
Expects the latch to become open within the specified timeout. If the timeout is reached, a
TimeoutException is thrown.
If this instance has been created using TestKit.CreateTestLatchtimeout is dilated, i.e. multiplied by TestTimeFactor | |
| Reset |
Reset this instance to the initial count, making it become closed.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AsInstanceOfT |
TBD
(Defined by Extensions.) | |
| Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
| MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |