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