Extensions.EnsureTrampoline – metoda
Obor názvů:ReactiveTests
Sestavení: Tests.System.Reactive (v Tests.System.Reactive.dll)
Syntaxe
'Declaration
<ExtensionAttribute> _
Public Shared Sub EnsureTrampoline ( _
scheduler As CurrentThreadScheduler, _
action As Action _
)
'Usage
Dim scheduler As CurrentThreadScheduler
Dim action As Action
scheduler.EnsureTrampoline(action)
public static void EnsureTrampoline(
this CurrentThreadScheduler scheduler,
Action action
)
[ExtensionAttribute]
public:
static void EnsureTrampoline(
CurrentThreadScheduler^ scheduler,
Action^ action
)
static member EnsureTrampoline :
scheduler:CurrentThreadScheduler *
action:Action -> unit
public static function EnsureTrampoline(
scheduler : CurrentThreadScheduler,
action : Action
)
Parametry
- scheduler
Typ: System.Reactive.Concurrency.CurrentThreadScheduler
- action
Typ: System.Action
Poznámka k využití
V jazyce Visual Basic a C# můžete tuto metodu volat jako metodu instance u libovolného objektu typu CurrentThreadScheduler. Pokud k volání této metody použijete syntaxi metody instance, vynechejte první parametr. Další informace naleznete v tématech a .