Click or drag to resize

IDispatcherMessageLoopInvokeIfRequiredT(FuncT) Method

Invokes the specified callback, waits for its completion, and returns the result. If the current thread is the thread running the message loop, executes the callback directly without pumping the message loop.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
T InvokeIfRequired<T>(
	Func<T> callback
)

Parameters

callback  FuncT

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

Type Parameters

T

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

Return Value

T

[Missing <returns> documentation for "M:Altaxo.Main.Services.IDispatcherMessageLoop.InvokeIfRequired``1(System.Func{``0})"]

See Also