예제 #1
0
 public EmbeddableRunspaceExecute(bool preventCloseOnInvokedExit)
 {
     this.preventCloseOnInvokedExit = preventCloseOnInvokedExit;
     this.embeddableRunspace = new EmbeddableRunspace(NotifyPSHostExit);
     this.threadEmbeddableRunspace = new Thread(new ThreadStart(EmbeddableRunspaceThreadExecute));
 }
예제 #2
0
 public EmbeddableRunspaceExecute(bool preventCloseOnInvokedExit)
 {
     this.preventCloseOnInvokedExit = preventCloseOnInvokedExit;
     this.embeddableRunspace        = new EmbeddableRunspace(NotifyPSHostExit);
     this.threadEmbeddableRunspace  = new Thread(new ThreadStart(EmbeddableRunspaceThreadExecute));
 }