Class
Wait

Specifies the duration to wait before executing an event.

Definition

Namespace:Telerik.JustMock

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public static class Wait

Inheritance: objectWait

Methods

For(TimeSpan)

Specifies the number of seconds to wait for executing an event.

Declaration

cs-api-definition
public static IWaitDuration For(TimeSpan duration)

Parameters

duration

TimeSpan

Time duration to wait

Returns

IWaitDuration

IWaitDuration type

For(int)

Specifies the number of seconds to wait for executing an event.

Declaration

cs-api-definition
public static IWaitDuration For(int seconds)

Parameters

seconds

int

Seconds to wait

Returns

IWaitDuration

IWaitDuration type

In this article
DefinitionMethodsFor(TimeSpan)For(int)
Not finding the help you need?
Contact Support