Beispiel #1
0
 private void InitializeScript()
 {
     rspaceconfig  = RunspaceConfiguration.Create();
     host          = new psfhost(frm);
     hostinterface = (psfhostinterface)host.UI;
     hostinterface.WriteProgressUpdate += WriteProgressUpdate;
     hostinterface.WriteUpdate         += WriteUpdate;
     rspace = RunspaceFactory.CreateRunspace(host, rspaceconfig);
     rspace.Open();
     InitializeSessionVars();
 }
Beispiel #2
0
 private void InitializeScript()
 {
     rspaceconfig = RunspaceConfiguration.Create();
     host = new psfhost(frm);
     hostinterface = (psfhostinterface)host.UI;
     hostinterface.WriteProgressUpdate += WriteProgressUpdate;
     hostinterface.WriteUpdate += WriteUpdate;
     rspace = RunspaceFactory.CreateRunspace(host, rspaceconfig);
     rspace.Open();
     InitializeSessionVars();
 }
Beispiel #3
0
 public psfhost(frmMain parent)
 {
     psfi = new psfhostinterface(parent);
 }
Beispiel #4
0
 public psfhost(frmMain parent)
 {
     psfi = new psfhostinterface(parent);
 }