Click or drag to resize
Akka.NETTimeSpanExtensionsMin Method

Compares two supplied timespans and returns the timespan with the least amount of positive ticks.

If b is null it's treated as undefined, and a is returned.

Namespace:  Akka.TestKit.Internal
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static TimeSpan Min(
	this TimeSpan a,
	Nullable<TimeSpan> b
)

Parameters

a
Type: SystemTimeSpan
The first timespan used for comparison.
b
Type: SystemNullableTimeSpan
The second timespan used for comparison

Return Value

Type: TimeSpan
The timespan with the least amount of ticks between the two given timespans.

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