VirtualTimeSchedulerBase<TAbsolute, TRelative>.Add Method
Adds a relative time to an absolute time value.
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Protected MustOverride Function Add ( _
absolute As TAbsolute, _
relative As TRelative _
) As TAbsolute
'Usage
Dim absolute As TAbsolute
Dim relative As TRelative
Dim returnValue As TAbsolute
returnValue = Me.Add(absolute, relative)
protected abstract TAbsolute Add(
TAbsolute absolute,
TRelative relative
)
protected:
virtual TAbsolute Add(
TAbsolute absolute,
TRelative relative
) abstract
abstract Add :
absolute:'TAbsolute *
relative:'TRelative -> 'TAbsolute
protected abstract function Add(
absolute : TAbsolute,
relative : TRelative
) : TAbsolute
Parameters
- absolute
Type: TAbsolute
The absolute time value.
- relative
Type: TRelative
The relative time value to add.
Return Value
Type: TAbsolute
The resulting absolute time sum value.