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 TRelative ToRelative(
	TimeSpan timeSpan
)

Parameters

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

Return Value

Type: TRelative
The corresponding relative time value.
Show: