TestScheduler.ToRelative Method

Converts the TimeSpan value to a relative virtual time value.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

protected override function ToRelative(
	timeSpan : TimeSpan
) : long

Parameters

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

Return Value

Type: System.Int64
The corresponding relative virtual time value.
Show: