Ejemplo n.º 1
0
 public ConsoleCommandItem(IOpohoCommandData data, IOpohoConsoleCommand cmdInstance)
 {
     Name = data.Name;
     ShortName = data.ShortName;
     Description = data.Description;
     Instance = cmdInstance;
 }
Ejemplo n.º 2
0
 public void PostConsole(IOpohoConsoleCommand conCmd)
 {
     if (conCmd == null)
     {
         _log.Warning("PostConsole: Tried to post null command");
         return;
     }
     _conCmdQueue.Enqueue(conCmd);
 }