internal HostInfo(PSHost host) { CheckHostChain(host, ref this._isHostNull, ref this._isHostUINull, ref this._isHostRawUINull); if (!this._isHostUINull && !this._isHostRawUINull) { this._hostDefaultData = System.Management.Automation.Remoting.HostDefaultData.Create(host.UI.RawUI); } }
internal HostInfo(PSHost host) { CheckHostChain(host, ref this._isHostNull, ref this._isHostUINull, ref this._isHostRawUINull); if (!this._isHostUINull && !this._isHostRawUINull) { this._hostDefaultData = System.Management.Automation.Remoting.HostDefaultData.Create(host.UI.RawUI); } }