Scheduler.Normalize Method

Ensures that no time spans are negative.

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Shared Function Normalize ( _
    timeSpan As TimeSpan _
) As TimeSpan
'Usage
Dim timeSpan As TimeSpan
Dim returnValue As TimeSpan

returnValue = Scheduler.Normalize(timeSpan)
public static TimeSpan Normalize(
    TimeSpan timeSpan
)
public:
static TimeSpan Normalize(
    TimeSpan timeSpan
)
static member Normalize : 
        timeSpan:TimeSpan -> TimeSpan 
public static function Normalize(
    timeSpan : TimeSpan
) : TimeSpan

Parameters

Return Value

Type: System.TimeSpan
The time span if it zero or positive otherwise TimeSpan.Zero.

See Also

Reference

Scheduler Class

System.Reactive.Concurrency Namespace