Compartilhar via


VirtualTimeSchedulerBase<TAbsolute, TRelative>. Método Add

Adiciona um tempo relativo a um valor de tempo absoluto.

Namespace:System.Reactive.Concurrency
Assembly: System.Reactive (em System.Reactive.dll)

Sintaxe

'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

Parâmetros

  • absoluto
    Tipo: TAbsolute
    O valor de tempo absoluto.
  • relative
    Tipo: TRelative
    O valor de tempo relativo a ser adicionado.

Valor Retornado

Tipo: TAbsolute
O valor da soma de tempo absoluto resultante.

Consulte Também

Referência

VirtualTimeSchedulerBase<TAbsolute, Classe TRelative>

System.Reactive.Concurrency Namespace