| TimeSpanExtensionsIsInfiniteTimeout Method (TimeSpan) |
Namespace:
Akka.TestKit.Internal
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static bool IsInfiniteTimeout(
this TimeSpan timeSpan
)
[<ExtensionAttribute>]
static member IsInfiniteTimeout :
timeSpan : TimeSpan -> bool
Parameters
- timeSpan
- Type: SystemTimeSpan
The timespan used for comparison.
Return Value
Type:
Booleantrue if the given timespan is equal to
InfiniteTimeSpan; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TimeSpan. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also