コード例 #1
0
 protected void ExecuteJump(List <ParameterClass> eventParameters)
 {
     if (_jumpToId != 0)
     {
         if (_jumpToActionBranch == null)
         {
             throw new DesignerException("Action branch {0} has not been linked", _jumpToId);
         }
         _jumpToActionBranch.Execute(eventParameters);
     }
 }
コード例 #2
0
        public override void Execute(List <ParameterClass> eventParameters)
        {
            bool test = false;

            if (test)
            {
                if (_ifActions != null)
                {
                    _ifActions.Execute(eventParameters);
                }
            }
            else
            {
                if (_elseActions != null)
                {
                    _elseActions.Execute(eventParameters);
                }
            }
        }