public Host(IWin32Window owner) { _owner = owner; _instanceID = Guid.NewGuid(); _hostUI = new HostUI(); _runspace = RunspaceFactory.CreateRunspace(this); _runspace.ApartmentState = ApartmentState.STA; _runspace.Open(); }
public PowerShellUI(HostUI hostUI) { _hostUI = hostUI; _rawUI = new PowerShellRawUI(hostUI); }
public PowerShellRawUI(HostUI hostUI) { _hostUI = hostUI; }