Class WaitSync
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 WaitSync : WaitAsync
Constructors
WaitSync(Int32, Int32)
Declaration
public WaitSync(int timeout, int checkInterval)
Parameters
System.Int32
timeout
|
System.Int32
checkInterval
|
Properties
AutoCheckResult
Declaration
public bool AutoCheckResult { get; set; }
Property Value
System.Boolean
|
PendingTaskTimeout
Declaration
public int PendingTaskTimeout { get; set; }
Property Value
System.Int32
|
SyncWaitResult
Methods
CheckResult(WaitSync)
CheckResult(WaitSync, String, Object)
Declaration
public static void CheckResult(WaitSync wait, string extraExceptionInfo, object target = null)
Parameters
WaitSync
wait
|
System.String
extraExceptionInfo
|
System.Object
target
|
For<T>(Func<T, Boolean>, T, Int32, Int32, Object)
Declaration
public void For<T>(Func<T, bool> assert, T control, int timeout, int checkInterval, object target)
Parameters
System.Func<T, System.Boolean>
assert
|
T
control
|
System.Int32
timeout
|
System.Int32
checkInterval
|
System.Object
target
|
Type Parameters
T
|
For<T>(Predicate<T>, T, Boolean, Int32)
Declaration
public override 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
|
Overrides
ArtOfTest.Common.WaitAsync.For<T>(System.Predicate<T>, T, System.Boolean, System.Int32)
For<T>(Predicate<T>, T, Boolean, Int32, WaitResultType)
Declaration
public override 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
|
Overrides
ArtOfTest.Common.WaitAsync.For<T>(System.Predicate<T>, T, System.Boolean, System.Int32, ArtOfTest.Common.WaitResultType)
For<T>(Predicate<T>, T, Int32)
Declaration
public void For<T>(Predicate<T> predicate, T target, int timeout)
Parameters
System.Predicate<T>
predicate
|
T
target
|
System.Int32
timeout
|
Type Parameters
T
|
For<T, V>(Func<T, V, Boolean>, T, V, Boolean, Int32)
Declaration
public override 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
|
Overrides
ArtOfTest.Common.WaitAsync.For<T, V>(System.Func<T, V, System.Boolean>, T, V, System.Boolean, System.Int32)
For<T, V>(Func<T, V, Boolean>, T, V, Boolean, Int32, WaitResultType)
Declaration
public override 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
|
Overrides
ArtOfTest.Common.WaitAsync.For<T, V>(System.Func<T, V, System.Boolean>, T, V, System.Boolean, System.Int32, ArtOfTest.Common.WaitResultType)
For<T, V>(Func<T, V, Boolean>, T, V, Int32)
Declaration
public void For<T, V>(Func<T, V, bool> func, T target, V custom, int timeout)
Parameters
System.Func<T, V, System.Boolean>
func
|
T
target
|
V
custom
|
System.Int32
timeout
|
Type Parameters
T
|
V
|