[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, BusinessProcess> getTask
)
Visual Basic (Declaration)
Public Sub New ( _
	createInstance As Func(Of taskClass), _
	getTask As Func(Of taskClass, BusinessProcess) _
)
Visual C++
public:
CachedTask(
	Func<taskClass>^ createInstance, 
	Func<taskClass, BusinessProcess^>^ getTask
)

Parameters

createInstance
Type: System..::.Func<(Of <(taskClass>)>)
The createInstance based on which this CachedTask<(Of <(taskClass>)>) will be created
getTask
Type: System..::.Func<(Of <(taskClass, BusinessProcess>)>)
The getTask based on which this CachedTask<(Of <(taskClass>)>) will be created

See Also