[This is preliminary documentation and is subject to change.]

Initializes a new instance of the CachedTask<(Of <(taskClass>)>) class

Namespace:  Firefly.Box.Flow
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: 3.4.23.6473 (3.4.23.6473)

Syntax

C#
public CachedTask(
	Func<taskClass> createInstance,
	Func<taskClass, UIController> getTask
)
Visual Basic (Declaration)
Public Sub New ( _
	createInstance As Func(Of taskClass), _
	getTask As Func(Of taskClass, UIController) _
)
Visual C++
public:
CachedTask(
	Func<taskClass>^ createInstance, 
	Func<taskClass, UIController^>^ getTask
)

Parameters

createInstance
Type: System..::.Func<(Of <(taskClass>)>)
A methods that creates a new task instance.
getTask
Type: System..::.Func<(Of <(taskClass, UIController>)>)

See Also