Click or drag to resize

ModelInvokeExtensionsRunAsyncTResult Method (Document, FuncTResult)

[Missing <summary> documentation for "M:Demo3D.Visuals.ModelInvokeExtensions.RunAsync``1(Demo3D.Visuals.Document,System.Func{``0})"]

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static Task<TResult> RunAsync<TResult>(
	this Document doc,
	Func<TResult> func
)

Parameters

doc
Type: Demo3D.VisualsDocument

[Missing <param name="doc"/> documentation for "M:Demo3D.Visuals.ModelInvokeExtensions.RunAsync``1(Demo3D.Visuals.Document,System.Func{``0})"]

func
Type: SystemFuncTResult

[Missing <param name="func"/> documentation for "M:Demo3D.Visuals.ModelInvokeExtensions.RunAsync``1(Demo3D.Visuals.Document,System.Func{``0})"]

Type Parameters

TResult

[Missing <typeparam name="TResult"/> documentation for "M:Demo3D.Visuals.ModelInvokeExtensions.RunAsync``1(Demo3D.Visuals.Document,System.Func{``0})"]

Return Value

Type: TaskTResult

[Missing <returns> documentation for "M:Demo3D.Visuals.ModelInvokeExtensions.RunAsync``1(Demo3D.Visuals.Document,System.Func{``0})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Document. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also