Historicalschedulerbase

HistoricalSchedulerBase.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 Overrides Function Add ( _
    absolute As DateTimeOffset, _
    relative As TimeSpan _
) As DateTimeOffset
'Usage
Dim absolute As DateTimeOffset
Dim relative As TimeSpan
Dim returnValue As DateTimeOffset

returnValue = Me.Add(absolute, relative)
protected override DateTimeOffset Add(
    DateTimeOffset absolute,
    TimeSpan relative
)
protected:
virtual DateTimeOffset Add(
    DateTimeOffset absolute, 
    TimeSpan relative
) override
abstract Add : 
        absolute:DateTimeOffset * 
        relative:TimeSpan -> DateTimeOffset 
override Add : 
        absolute:DateTimeOffset * 
        relative:TimeSpan -> DateTimeOffset 
protected override function Add(
    absolute : DateTimeOffset, 
    relative : TimeSpan
) : DateTimeOffset

Parameters

Return Value

Type: System.DateTimeOffset
The resulting absolute time sum value.

See Also

Reference

HistoricalSchedulerBase Class

System.Reactive.Concurrency Namespace