Click or drag to resize

NullSyncInvokerInvokeT(FuncT) Method

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.4.5
Syntax
public T Invoke<T>(
	Func<T> func
)

Parameters

func  FuncT
The delegate to invoke on the script engine's thread.

Type Parameters

T
The delegate's return value type.

Return Value

T
The delegate's return value.

Implements

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