Click or drag to resize

IDispatcherMessageLoopInvokeIfRequiredT, TResult(FuncT, TResult, T) Method

Evaluates a function synchronously with the Gui.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
TResult 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

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Main.Services.IDispatcherMessageLoop.InvokeIfRequired``2(System.Func{``0,``1},``0)"]

TResult
The type of function result.

Return Value

TResult
The result of the function evaluation.
See Also