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