Extensions.Schedule – metoda
Obor názvů:ReactiveTests
Sestavení: Tests.System.Reactive (v Tests.System.Reactive.dll)
Syntaxe
'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
Parametry
- scheduler
Typ: Microsoft.Reactive.Testing.TestScheduler
- action
Typ: System.Action
- time
Typ: System.Int64
Návratová hodnota
Typ: System.IDisposable
Poznámka k využití
V jazyce Visual Basic a C# můžete tuto metodu volat jako metodu instance u libovolného objektu typu TestScheduler. Pokud k volání této metody použijete syntaxi metody instance, vynechejte první parametr. Další informace naleznete v tématech a .