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:
virtual long long ToRelative(
	TimeSpan timeSpan
) override

Parameters

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

Return Value

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