VirtualTimeSchedulerBase(TAbsolute, TRelative).ToRelative Method

Converts the TimeSpan value to a relative time value.

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

protected abstract function ToRelative(
	timeSpan : TimeSpan
) : TRelative

Parameters

timeSpan
Type: System.TimeSpan
The TimeSpan value to convert.

Return Value

Type: TRelative
The corresponding relative time value.
Show: