dotnetexec(obj,method,arg1,arg2,...);
Наследование: AbstractStoryCommand
 public override IStoryCommand Clone()
 {
     DotnetExecCommand cmd = new DotnetExecCommand();
     cmd.m_Object = m_Object.Clone();
     cmd.m_Method = m_Method.Clone();
     for (int i = 0; i < m_Args.Count; i++) {
         cmd.m_Args.Add(m_Args[i].Clone());
     }
     return cmd;
 }
Пример #2
0
        protected override IStoryCommand CloneCommand()
        {
            DotnetExecCommand cmd = new DotnetExecCommand();

            cmd.m_Object = m_Object.Clone();
            cmd.m_Method = m_Method.Clone();
            for (int i = 0; i < m_Args.Count; i++)
            {
                cmd.m_Args.Add(m_Args[i].Clone());
            }
            return(cmd);
        }