dotnetset(obj,method,arg1,arg2,...);
Inheritance: AbstractStoryCommand
示例#1
0
        protected override IStoryCommand CloneCommand()
        {
            DotnetSetCommand cmd = new DotnetSetCommand();

            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);
        }
 public override IStoryCommand Clone()
 {
     DotnetSetCommand cmd = new DotnetSetCommand();
     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;
 }