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

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