Click or drag to resize

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

Parameters

func  Func<T>
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

ISyncInvoker.Invoke<T>(Func<T>)
Remarks
The NullSyncInvoker implementation of this method invokes func without synchronization.
See Also