Click or drag to resize

IDispatcherMessageLoopInvokeIfRequiredT1, T2, T3, TResult(FuncT1, T2, T3, TResult, T1, T2, T3) 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, TResult>(
	Func<T1, T2, T3, TResult> function,
	T1 arg1,
	T2 arg2,
	T3 arg3
)

Parameters

function  FuncT1, T2, T3, TResult
The function to execute.
arg1  T1
The first function argument.
arg2  T2
The second function argument.
arg3  T3
The third 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.
TResult
The type of the function result.

Return Value

TResult
The result of the function evaluation.
See Also