public override IEnumerator<NextActivityComponent> GetEnumerator() { foreach (NextActivityComponent c in nextActivityList) { yield return c; } }