Click or drag to resize
Akka.NETTimeSpanExtensionsIsInfinite Method (NullableTimeSpan)

Determine if the supplied timeSpan has a negative number of ticks.

Note Note
This is a relaxed definition of a TimeSpan. For a stricter definition, use IsInfiniteTimeout(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 IsInfinite(
	this Nullable<TimeSpan> timeSpan
)

Parameters

timeSpan
Type: SystemNullableTimeSpan
The timespan used to check the number of ticks.

Return Value

Type: Boolean
true if the given timespan has a negative number of ticks; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NullableTimeSpan. 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