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

Begins a block of flow items

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

Syntax

C#
public void StartBlock(
	Func<bool> condition,
	FlowMode flowMode,
	Direction direction
)
Visual Basic (Declaration)
Public Sub StartBlock ( _
	condition As Func(Of Boolean), _
	flowMode As FlowMode, _
	direction As Direction _
)
Visual C++
public:
void StartBlock(
	Func<bool>^ condition, 
	FlowMode flowMode, 
	Direction direction
)

Parameters

condition
Type: System..::.Func<(Of <(Boolean>)>)
The condition the determines if the actions within this block are executed
flowMode
Type: Firefly.Box.Flow..::.FlowMode
Restricts the actions in this block to only be performed, if the current flow mode matches this parameter
direction
Type: Firefly.Box.Flow..::.Direction
Restricts the actions in this block to only be performed if the current direction matches this parameter

Remarks

All the items added to the flow, until the EndBlock()()() method is called, will be executed only if the block's condition is met.
Columns that are added between the StartBlock, and the EndBlock()()() method will only be parked if the block's condition is met

See Also