Exemplo n.º 1
0
        private Type a()
        {
            LogicCallMethodAction logicCallMethodAction = base.Parent as LogicCallMethodAction;

            if (logicCallMethodAction != null)
            {
                return(logicCallMethodAction.GetReturnType());
            }
            LogicGetVariableAction logicGetVariableAction = base.Parent as LogicGetVariableAction;

            if (logicGetVariableAction != null)
            {
                return(logicGetVariableAction.GetReturnType());
            }
            return(null);
        }
Exemplo n.º 2
0
        protected override void OnClone(Entity source)
        {
            base.OnClone(source);
            LogicCallMethodAction logicCallMethodAction = (LogicCallMethodAction)source;

            this.abk = logicCallMethodAction.abk;
            this.abL = logicCallMethodAction.abL;
            if (logicCallMethodAction.abl != null)
            {
                this.abl = new string[logicCallMethodAction.abl.Length];
                for (int i = 0; i < logicCallMethodAction.abl.Length; i++)
                {
                    this.abl[i] = logicCallMethodAction.abl[i];
                }
                this.abM = new LogicAction[logicCallMethodAction.abM.Length];
                for (int j = 0; j < logicCallMethodAction.abM.Length; j++)
                {
                    if (logicCallMethodAction.abM[j] != null)
                    {
                        this.abM[j] = (LogicAction)logicCallMethodAction.abM[j].CloneWithCopyBrowsableProperties(false, this);
                    }
                }
            }
        }