Compartilhar via


Método TestScheduler.Add

Adiciona um tempo virtual relativo a um valor de tempo virtual absoluto.

Namespace:Microsoft.Reactive.Testing
Assembly: Microsoft.Reactive.Testing (em Microsoft.Reactive.Testing.dll)

Sintaxe

'Declaration
Protected Overrides Function Add ( _
    absolute As Long, _
    relative As Long _
) As Long
'Usage
Dim absolute As Long
Dim relative As Long
Dim returnValue As Long

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

Parâmetros

  • absoluto
    Tipo: System.Int64
    Valor de tempo virtual absoluto.
  • relative
    Tipo: System.Int64
    Valor de tempo virtual relativo a ser adicionado.

Valor Retornado

Tipo: System.Int64
Valor de soma de tempo virtual absoluto resultante.

Consulte Também

Referência

Classe TestScheduler

Microsoft.Reactive.Testing Namespace