Share via


Extensions.Schedule Method

Namespace:  ReactiveTests
Assembly:  Tests.System.Reactive (in Tests.System.Reactive.dll)

Syntax

'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

Parameters

Return Value

Type: System.IDisposable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TestScheduler. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Extensions Class

ReactiveTests Namespace