public override bool OnExportCode(ActionBranch previousAction, ActionBranch nextAction, ILimnorCodeCompiler compiler, CodeMemberMethod method, CodeStatementCollection statements) { BranchList _list = this.ActionList; if (_list != null) { //link both actions if (nextAction != null) { if (!string.IsNullOrEmpty(OutputCodeName) && OutputType != null && !OutputType.IsVoid) { nextAction.InputName = OutputCodeName; nextAction.InputType = OutputType; nextAction.SetInputName(OutputCodeName, OutputType); } } // CompilerUtil.ClearGroupGotoBranches(method, this.BranchId); bool bRet = _list.ExportCode(compiler, method, statements); bRet = CompilerUtil.FinishActionGroup(method, statements, this.BranchId, bRet); return(bRet); } return(false); }