Exemplo n.º 1
0
 PowerShellEngine createPowerShellEngine()
 {
     var psEngine = new PowerShellEngine(this);
     psEngine.ExecDone += onExecDone;
     psEngine.ExitRequested += (s, e)
         => Dispatcher.BeginInvoke(new Action(exit));
     return psEngine;
 }
Exemplo n.º 2
0
        public TerminalTextArea()
        {
            psEngine = createPowerShellEngine();

            Unloaded += (s, e) => terminateExec();
        }