Class Wait
Specifies the duration to wait before executing an event.
Inheritance
System.Object
Wait
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: Telerik.JustMock
Assembly: Telerik.JustMock.dll
Syntax
public static class Wait
Methods
For(Int32)
Specifies the number of seconds to wait for executing an event.
Declaration
public static IWaitDuration For(int seconds)
Parameters
System.Int32
seconds
Seconds to wait |
Returns
IWaitDuration
IWaitDuration type |
For(TimeSpan)
Specifies the number of seconds to wait for executing an event.
Declaration
public static IWaitDuration For(TimeSpan duration)
Parameters
System.TimeSpan
duration
Time duration to wait |
Returns
IWaitDuration
IWaitDuration type |