UserFlowAddtaskType(CachedTasktaskType, Action) Method

Registers a task that is stored by CachedTasktaskClass to be executed as part of the flow.

Definition

Namespace: Firefly.Box.Flow
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public void Add<taskType>(
	CachedTask<taskType> cachedTask,
	Action runTask
)
where taskType : class

Parameters

cachedTask  CachedTasktaskType
The that contains the task to be executed
runTask  Action
The Action that runs the specified task

Type Parameters

taskType

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