Ejemplo n.º 1
0
 public void AddCommand(ICommandAdaptor cmd)
 {
     AssertUtility.ArgumentNotNull(cmd, "cmd");
     this.Commands.Commands.Add(cmd);
 }
Ejemplo n.º 2
0
 public void AddCommand(string cmd, ICommandAdaptor cmdAdaptor)
 {
     this.Commands.NamedCommands.Add(cmd, cmdAdaptor);
 }
Ejemplo n.º 3
0
 public void RemoveCommand(ICommandAdaptor cmd)
 {
     AssertUtility.ArgumentNotNull(cmd, "cmd");
     this.Commands.Commands.Remove(cmd);
 }