Object IMechanicalApplication.InvokeUIThread(Func<Object, Object> action, Object arg)
Runs the specified action in the UI thread.
Examples
Parameters
-
action
Type: Func<Object, Object>
The action to be executed.
-
arg
Type: Object
The object containing the argument(s) to be passed as input of the action.
Return Value
Type: Object
The returned value of the executed action.