Table of Contents

Property LoopIndex

Namespace
Millrace.Workflows
Assembly
Millrace.dll

LoopIndex

Zero-based iteration index when this activity runs inside a ForEach body; zero otherwise.

public int LoopIndex { get; init; }

Property Value

int

Remarks

The body sees the index rather than the item, because the item is not separate state — it lives in Data, which is the only thing checkpointed. An activity indexes the same collection the loop selected.