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; }