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

Registers a task that is stored by CachedTask<(Of <(taskClass>)>) to be executed as part of the flow.

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

Syntax

C#
public void Add<taskType>(
	CachedTask<taskType> cachedTask,
	Action runTask
)
where taskType : class
Visual Basic (Declaration)
Public Sub Add(Of taskType As Class) ( _
	cachedTask As CachedTask(Of taskType), _
	runTask As Action _
)
Visual C++
public:
generic<typename taskType>
where taskType : ref class
void Add(
	CachedTask<taskType>^ cachedTask, 
	Action^ runTask
)

Parameters

cachedTask
Type: Firefly.Box.Flow..::.CachedTask<(Of <(taskType>)>)
The that contains the task to be executed
runTask
Type: System..::.Action
The Action that runs the specified task

Type Parameters

taskType

[Missing <typeparam name="taskType"/> documentation for "M:Firefly.Box.Flow.UserFlow.Add``1(Firefly.Box.Flow.CachedTask{``0},System.Action)"]

Remarks

The task to be executed is stored by CachedTaskBase to be executed multiple times. Usually used in conjunction with the KeepViewVisibleAfterExit property of the sub task. Used mainly for Master details scenarios.

See Also