Exemplo n.º 1
0
 public Shell(MainConfiguration config)
 {
     _cfg         = config;
     _innerShells = new Dictionary <string, IInnerShell>();
     _context     = new ShellContext(config.StartupPath);
     _current     = null;
 }
Exemplo n.º 2
0
        private void RunInnerShellCommand(ShellCommand cmd)
        {
            var shell = GetInnerShell(cmd.CommandName);

            if (shell != null)
            {
                shell.Enter();
                _current = shell;
            }
        }