public Shell(MainConfiguration config) { _cfg = config; _innerShells = new Dictionary <string, IInnerShell>(); _context = new ShellContext(config.StartupPath); _current = null; }
private void RunInnerShellCommand(ShellCommand cmd) { var shell = GetInnerShell(cmd.CommandName); if (shell != null) { shell.Enter(); _current = shell; } }