public override bool OnExportCode(ActionBranch previousAction, ActionBranch nextAction, ILimnorCodeCompiler compiler, CodeMemberMethod method, CodeStatementCollection statements) { bool bRet = false; if (_list != null) { ActionBranch p = previousAction; ActionBranch n; _list.ResetBeforeCompile(); for (int i = 0, j = 1; i < _list.Count; i++, j++) //ActionBranch a in _list) { if (j < _list.Count) { n = _list[j]; } else { n = nextAction; } if (!_list[i].IsCompiled) { bRet = _list[i].ExportCode(p, n, compiler, method, statements); } p = _list[i]; } } return(bRet); }