New to Telerik JustMockStart a free 30-day trial

Defines the wait duration for a specific event.

Definition

Namespace:Telerik.JustMock.Expectations

Assembly:Telerik.JustMock.dll

Syntax:

C#
public sealed class EventWaitDuration : IWaitDuration

Inheritance: objectEventWaitDuration

Implements: IWaitDuration

Constructors

Initializes a new instance of the EventWaitDuration class.

C#
public EventWaitDuration(int miliSeconds)
Parameters:miliSecondsint

Time duration

Properties

Number of milliseconds to wait for executing the event.

C#
public int Miliseconds { get; }

Implements: IWaitDuration.Miliseconds