FormFlowsheetRunCodeOnUIThread2 Method

Schedules an action to run on the UI thread and returns a Task that completes when the action finishes.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
public Task RunCodeOnUIThread2(
	Action act
)

Parameters

act  Action
The action to schedule.

Return Value

Task
A task representing the pending UI execution.

Implements

IFlowsheetRunCodeOnUIThread2(Action)

See Also