Class WaitAsync
Inheritance
System.Object
WaitAsync
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii.dll
Syntax
public class WaitAsync
Constructors
WaitAsync(Int32, Int32)
Declaration
public WaitAsync(int timeout, int checkInterval)
Parameters
System.Int32
timeout
|
System.Int32
checkInterval
|
Properties
CheckInterval
Declaration
public int CheckInterval { get; set; }
Property Value
System.Int32
|
Methods
For<T>(Predicate<T>, T, Boolean, Int32)
Declaration
public virtual void For<T>(Predicate<T> predicate, T target, bool invertCondition, int timeout)
Parameters
System.Predicate<T>
predicate
|
T
target
|
System.Boolean
invertCondition
|
System.Int32
timeout
|
Type Parameters
T
|
For<T>(Predicate<T>, T, Boolean, Int32, WaitResultType)
Declaration
public virtual void For<T>(Predicate<T> predicate, T target, bool invertCondition, int timeout, WaitResultType errorResultType)
Parameters
System.Predicate<T>
predicate
|
T
target
|
System.Boolean
invertCondition
|
System.Int32
timeout
|
WaitResultType
errorResultType
|
Type Parameters
T
|
For<T, V>(Func<T, V, Boolean>, T, V, Boolean, Int32)
Declaration
public virtual void For<T, V>(Func<T, V, bool> func, T target, V custom, bool invertCondition, int timeout)
Parameters
System.Func<T, V, System.Boolean>
func
|
T
target
|
V
custom
|
System.Boolean
invertCondition
|
System.Int32
timeout
|
Type Parameters
T
|
V
|
For<T, V>(Func<T, V, Boolean>, T, V, Boolean, Int32, WaitResultType)
Declaration
public virtual void For<T, V>(Func<T, V, bool> func, T target, V custom, bool invertCondition, int timeout, WaitResultType errorResultType)
Parameters
System.Func<T, V, System.Boolean>
func
|
T
target
|
V
custom
|
System.Boolean
invertCondition
|
System.Int32
timeout
|
WaitResultType
errorResultType
|
Type Parameters
T
|
V
|
OnWaitComplete(WaitCompleteEventArgs)
Declaration
protected void OnWaitComplete(WaitCompleteEventArgs args)
Parameters
WaitCompleteEventArgs
args
|
Events
WaitCompleted
Declaration
public event EventHandler<WaitCompleteEventArgs> WaitCompleted
Event Type
System.EventHandler<WaitCompleteEventArgs>
|