Click or drag to resize

IDispatcherMessageLoopInvokeIfRequiredT1, T2, T3, T4, T5, TResult(FuncT1, T2, T3, T4, T5, TResult, T1, T2, T3, T4, T5) Method

Evaluates a function synchronously on the message loop thread.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
TResult InvokeIfRequired<T1, T2, T3, T4, T5, TResult>(
	Func<T1, T2, T3, T4, T5, TResult> function,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4,
	T5 arg5
)

Parameters

function  FuncT1, T2, T3, T4, T5, TResult
The function to execute.
arg1  T1
The first function argument.
arg2  T2
The second function argument.
arg3  T3
The third function argument.
arg4  T4
The fourth function argument.
arg5  T5
The fifth function argument.

Type Parameters

T1
The type of the first function argument.
T2
The type of the second function argument.
T3
The type of the third function argument.
T4
The type of the fourth function argument.
T5
The type of the fifth function argument.
TResult
The type of the function result.

Return Value

TResult
The result of the function evaluation.
See Also