public void UnregisterCommandHandler(CommandHandler handler)
 {
     _commandMap.Remove(handler.CommandID);
 }
示例#2
0
 public void UnregisterCommandHandler(CommandHandler handler)
 {
     _commandMap.Remove(handler.CommandID);
 }
 public void RegisterCommandHandler(CommandHandler handler)
 {
     _commandMap[handler.CommandID] = handler;
 }
示例#4
0
 public void RegisterCommandHandler(CommandHandler handler)
 {
     _commandMap[handler.CommandID] = handler;
 }