Compartir a través de


Método Extensions.Schedule

Espacio de nombres:ReactiveTests
Ensamblaje: Tests.System.Reactive (en Tests.System.Reactive.dll)

Sintaxis

'Declaration
<ExtensionAttribute> _
Public Shared Function Schedule ( _
    scheduler As TestScheduler, _
    action As Action, _
    time As Long _
) As IDisposable
'Usage
Dim scheduler As TestScheduler
Dim action As Action
Dim time As Long
Dim returnValue As IDisposable

returnValue = scheduler.Schedule(action, _
    time)
public static IDisposable Schedule(
    this TestScheduler scheduler,
    Action action,
    long time
)
[ExtensionAttribute]
public:
static IDisposable^ Schedule(
    TestScheduler^ scheduler, 
    Action^ action, 
    long long time
)
static member Schedule : 
        scheduler:TestScheduler * 
        action:Action * 
        time:int64 -> IDisposable 
public static function Schedule(
    scheduler : TestScheduler, 
    action : Action, 
    time : long
) : IDisposable

Parámetros

Valor devuelto

Tipo: System.IDisposable

Nota sobre el uso

En Visual Basic y C#, puede llamar a este método como método de instancia en cualquier objeto de tipo TestScheduler. Cuando emplee la sintaxis del método de instancia para llamar a este método, omita el primer parámetro. Para obtener más información, vea o .

Consulte también

Referencia

Extensions (clase)

Espacio de nombres ReactiveTests