Click or drag to resize

NullSyncInvokerInvokeT Method (FuncT)

Invokes a delegate that returns a value on the script engine's thread.

Namespace:  Microsoft.ClearScript.Windows.Core
Assembly:  ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.2.4
Syntax
public T Invoke<T>(
	Func<T> func
)

Parameters

func
Type: SystemFuncT
The delegate to invoke on the script engine's thread.

Type Parameters

T
The delegate's return value type.

Return Value

Type: T
The delegate's return value.

Implements

ISyncInvokerInvokeT(FuncT)
Remarks
The NullSyncInvoker implementation of this method invokes func without synchronization.
See Also