C# Class NFluent.EventWaitHandleCheckExtensions

Provides check methods to be executed on a EventWaitHandle instance.
Datei anzeigen Open project: tpierrain/NFluent

Public Methods

Method Description
IsNotSetWithin ( this check, double timeOut, TimeUnit timeUnit ) : ICheckLink>

Checks that the event is not set within a given timeout.

IsSetWithin ( this check, double timeOut, TimeUnit timeUnit ) : ICheckLink>

Checks that the event is set within a given timeout.

Method Details

IsNotSetWithin() public static method

Checks that the event is not set within a given timeout.
The event was set before the given timeout.
public static IsNotSetWithin ( this check, double timeOut, TimeUnit timeUnit ) : ICheckLink>
check this The fluent check to be extended.
timeOut double The maximum amount of time before the event should not be set (time unit being specified with the timeUnit parameter).
timeUnit TimeUnit The time unit of the given timeOut.
return ICheckLink>

IsSetWithin() public static method

Checks that the event is set within a given timeout.
The event was not set before the given timeout.
public static IsSetWithin ( this check, double timeOut, TimeUnit timeUnit ) : ICheckLink>
check this The fluent check to be extended.
timeOut double The maximum amount of time before the event should be set (time unit being specified with the timeUnit parameter).
timeUnit TimeUnit The time unit of the given timeOut.
return ICheckLink>