Waits Synchronously for a condition.
Inheritance Hierarchy
ArtOfTest.CommonWaitAsync
ArtOfTest.CommonWaitSync
Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The WaitSync type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WaitSync |
Create a new synchronous wait object.
|
Properties
Name | Description | |
---|---|---|
AutoCheckResult |
Gets or sets whether to automatically check for timeouts
or errors once the wait is done. Default is true.
| |
CheckInterval |
Gets or sets the check interval for this wait object.
(Inherited from WaitAsync.) | |
SyncWaitResult |
Gets the result of the last synchronous wait.
|
Methods
Name | Description | |
---|---|---|
CheckResult(WaitSync) |
Check the result of a WaitSync.
| |
CheckResult(WaitSync, String, Object) |
Check the sync wait result.
| |
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.) | |
ForT(PredicateT, T, Int32) |
Wait for a custom condition defined by predicate on a pooled thread.
| |
ForT(PredicateT, T, Boolean, Int32) |
Wait for an action async. Attach to WaitCompleted to get notification when wait is completed
(Inherited from WaitAsync.) | |
ForT(PredicateT, T, Boolean, Int32) |
Wait for a custom condition defined by predicate on a pooled thread.
(Overrides WaitAsyncForT(PredicateT, T, Boolean, Int32).) | |
ForT(PredicateT, T, Boolean, Int32, WaitResultType) | (Inherited from WaitAsync.) | |
ForT(FuncT, Boolean, T, Int32, Int32, Object) |
Wait for a specific assert.
| |
ForT(PredicateT, T, Boolean, Int32, WaitResultType) | (Overrides WaitAsyncForT(PredicateT, T, Boolean, Int32, WaitResultType).) | |
ForT, V(FuncT, V, Boolean, T, V, Int32) |
Wait for a custom condition defined by func on a pooled thread.
| |
ForT, V(FuncT, V, Boolean, T, V, Boolean, Int32) |
Wait for an action async. Attach to WaitCompleted to get notification when wait is completed
(Inherited from WaitAsync.) | |
ForT, V(FuncT, V, Boolean, T, V, Boolean, Int32) |
Wait for a custom condition defined by func on a pooled thread.
(Overrides WaitAsyncForT, V(FuncT, V, Boolean, T, V, Boolean, Int32).) | |
ForT, V(FuncT, V, Boolean, T, V, Boolean, Int32, WaitResultType) | (Inherited from WaitAsync.) | |
ForT, V(FuncT, V, Boolean, T, V, Boolean, Int32, WaitResultType) | (Overrides WaitAsyncForT, V(FuncT, V, Boolean, T, V, Boolean, Int32, WaitResultType).) | |
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.) | |
OnWaitComplete |
Invoke the wait complete event.
(Inherited from WaitAsync.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
WaitCompleted |
Triggered when the wait operation is completed
(Inherited from WaitAsync.) |
See Also