Virtualtimeschedulerbase(Tabsolute,

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](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)
    The absolute time value.

  • relative
    Type: [TRelative](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)
    The relative time value to add.

Return Value

Type: [TAbsolute](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)
The resulting absolute time sum value.

See Also

Reference

[VirtualTimeSchedulerBase<TAbsolute, TRelative> Class](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)

System.Reactive.Concurrency Namespace