IDispatcherMessageLoopInvokeIfRequiredT, TResult(FuncT, TResult, T) Method |
Evaluates a function synchronously on the message loop thread.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
SyntaxTResult InvokeIfRequired<T, TResult>(
Func<T, TResult> function,
T arg
)
Parameters
- function FuncT, TResult
- The function to execute.
- arg T
- The 1st function argument.
Type Parameters
- T
- The type of the function argument.
- TResult
- The type of function result.
Return Value
TResultThe result of the function evaluation.
See Also