Object IMechanicalApplication.InvokeUIThread(Func<Object> action)

Runs the specified action in the UI thread.

Parameters

  • action
    Type: Func<Object>
    The action to be executed.

Return Value

Type: Object
The returned value of the executed action.