RemoveCommand() public method

public RemoveCommand ( string commandName ) : void
commandName string
return void
Esempio n. 1
0
 static int RemoveCommand(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         Controller obj  = (Controller)ToLua.CheckObject <Controller>(L, 1);
         string     arg0 = ToLua.CheckString(L, 2);
         obj.RemoveCommand(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Esempio n. 2
0
 public void RemoveCommand(NotifyDefine notiid)
 {
     m_controller.RemoveCommand(notiid);
 }
Esempio n. 3
0
 /// <summary>
 /// Remove a previously registered <c>ICommand</c> to <c>INotification</c> mapping from the Controller.
 /// </summary>
 /// <param name="notificationName">the name of the <c>INotification</c> to remove the <c>ICommand</c> mapping for</param>
 public virtual void RemoveCommand(string notificationName)
 {
     Controller.RemoveCommand(notificationName);
 }
Esempio n. 4
0
 public void RemoveCommand <T>(string name) where T : ICommand
 {
     Controller.RemoveCommand <T>(name);
 }
Esempio n. 5
0
 public void RemoveCommand(string notificationName)
 {
     _controller.RemoveCommand(notificationName);
 }