@@ -91,13 +91,13 @@ function Start-EditorServicesHost {
9191
9292 $editorServicesHost = $null
9393 $hostDetails =
94- Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.HostDetails @ (
94+ Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting. HostDetails @ (
9595 $HostName ,
9696 $HostProfileId ,
9797 (Microsoft.PowerShell.Utility\New-Object System.Version @ ($HostVersion )))
9898
9999 $editorServicesHost =
100- Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.EditorServicesHost @ (
100+ Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServicesHost @ (
101101 $hostDetails ,
102102 $BundledModulesPath ,
103103 $EnableConsoleRepl.IsPresent ,
@@ -108,40 +108,40 @@ function Start-EditorServicesHost {
108108
109109 # Build the profile paths using the root paths of the current $profile variable
110110 $profilePaths =
111- Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.ProfilePaths @ (
111+ Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting. ProfilePaths @ (
112112 $hostDetails.ProfileId ,
113113 [System.IO.Path ]::GetDirectoryName($profile.AllUsersAllHosts ),
114114 [System.IO.Path ]::GetDirectoryName($profile.CurrentUserAllHosts ))
115115
116116 $editorServicesHost.StartLogging ($LogPath , $LogLevel );
117117
118118 $languageServiceConfig =
119- Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportConfig
119+ Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportConfig
120120
121121 $debugServiceConfig =
122- Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportConfig
122+ Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportConfig
123123
124124 switch ($PSCmdlet.ParameterSetName ) {
125125 " Stdio" {
126- $languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportType ]::Stdio
127- $debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportType ]::Stdio
126+ $languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportType ]::Stdio
127+ $debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportType ]::Stdio
128128 break
129129 }
130130 " NamedPipe" {
131- $languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportType ]::NamedPipe
131+ $languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportType ]::NamedPipe
132132 $languageServiceConfig.InOutPipeName = " $LanguageServiceNamedPipe "
133133 if ($DebugServiceNamedPipe ) {
134- $debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportType ]::NamedPipe
134+ $debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportType ]::NamedPipe
135135 $debugServiceConfig.InOutPipeName = " $DebugServiceNamedPipe "
136136 }
137137 break
138138 }
139139 " NamedPipeSimplex" {
140- $languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportType ]::NamedPipe
140+ $languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportType ]::NamedPipe
141141 $languageServiceConfig.InPipeName = $LanguageServiceInNamedPipe
142142 $languageServiceConfig.OutPipeName = $LanguageServiceOutNamedPipe
143143 if ($DebugServiceInNamedPipe -and $DebugServiceOutNamedPipe ) {
144- $debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.EditorServiceTransportType ]::NamedPipe
144+ $debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting. EditorServiceTransportType ]::NamedPipe
145145 $debugServiceConfig.InPipeName = $DebugServiceInNamedPipe
146146 $debugServiceConfig.OutPipeName = $DebugServiceOutNamedPipe
147147 }
0 commit comments