Skip to content

Commit 9d07cde

Browse files
Remove engine from files and namespaces (#1048)
1 parent 7d4516f commit 9d07cde

File tree

199 files changed

+378
-379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+378
-379
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ docs/metadata/
3737
*.zip
3838

3939
# Generated build info file
40-
src/PowerShellEditorServices.Engine/Hosting/BuildInfo.cs
40+
src/PowerShellEditorServices/Hosting/BuildInfo.cs
4141

4242
# quickbuild.exe
4343
/VersionGeneratingLogs/

PowerShellEditorServices.build.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $script:ModuleBinPath = "$PSScriptRoot/module/PowerShellEditorServices/bin/"
2727
$script:VSCodeModuleBinPath = "$PSScriptRoot/module/PowerShellEditorServices.VSCode/bin/"
2828
$script:WindowsPowerShellFrameworkTarget = 'net461'
2929
$script:NetFrameworkPlatformId = 'win'
30-
$script:BuildInfoPath = [System.IO.Path]::Combine($PSScriptRoot, "src", "PowerShellEditorServices.Engine", "Hosting", "BuildInfo.cs")
30+
$script:BuildInfoPath = [System.IO.Path]::Combine($PSScriptRoot, "src", "PowerShellEditorServices", "Hosting", "BuildInfo.cs")
3131

3232
$script:PSCoreModulePath = $null
3333

@@ -50,16 +50,16 @@ Schema is:
5050
#>
5151
$script:RequiredBuildAssets = @{
5252
$script:ModuleBinPath = @{
53-
'PowerShellEditorServices.Engine' = @(
53+
'PowerShellEditorServices' = @(
5454
'publish/Microsoft.Extensions.DependencyInjection.Abstractions.dll',
5555
'publish/Microsoft.Extensions.DependencyInjection.dll',
5656
'publish/Microsoft.Extensions.FileSystemGlobbing.dll',
5757
'publish/Microsoft.Extensions.Logging.Abstractions.dll',
5858
'publish/Microsoft.Extensions.Logging.dll',
5959
'publish/Microsoft.Extensions.Options.dll',
6060
'publish/Microsoft.Extensions.Primitives.dll',
61-
'publish/Microsoft.PowerShell.EditorServices.Engine.dll',
62-
'publish/Microsoft.PowerShell.EditorServices.Engine.pdb',
61+
'publish/Microsoft.PowerShell.EditorServices.dll',
62+
'publish/Microsoft.PowerShell.EditorServices.pdb',
6363
'publish/Newtonsoft.Json.dll',
6464
'publish/OmniSharp.Extensions.JsonRpc.dll',
6565
'publish/OmniSharp.Extensions.LanguageProtocol.dll',
@@ -304,7 +304,7 @@ task CreateBuildInfo -Before Build {
304304
[string]$buildTime = [datetime]::Now.ToString("s", [System.Globalization.CultureInfo]::InvariantCulture)
305305

306306
$buildInfoContents = @"
307-
namespace Microsoft.PowerShell.EditorServices.Engine.Hosting
307+
namespace Microsoft.PowerShell.EditorServices.Hosting
308308
{
309309
public static class BuildInfo
310310
{
@@ -319,7 +319,7 @@ namespace Microsoft.PowerShell.EditorServices.Engine.Hosting
319319
}
320320

321321
task Build {
322-
exec { & $script:dotnetExe publish -c $Configuration .\src\PowerShellEditorServices.Engine\PowerShellEditorServices.Engine.csproj -f $script:TargetPlatform }
322+
exec { & $script:dotnetExe publish -c $Configuration .\src\PowerShellEditorServices\PowerShellEditorServices.csproj -f $script:TargetPlatform }
323323
exec { & $script:dotnetExe build -c $Configuration .\src\PowerShellEditorServices.VSCode\PowerShellEditorServices.VSCode.csproj $script:TargetFrameworksParam }
324324
}
325325

PowerShellEditorServices.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerShellEditorServices.Te
2222
EndProject
2323
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerShellEditorServices.VSCode", "src\PowerShellEditorServices.VSCode\PowerShellEditorServices.VSCode.csproj", "{3B38E8DA-8BFF-4264-AF16-47929E6398A3}"
2424
EndProject
25-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerShellEditorServices.Engine", "src\PowerShellEditorServices.Engine\PowerShellEditorServices.Engine.csproj", "{29EEDF03-0990-45F4-846E-2616970D1FA2}"
25+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerShellEditorServices", "src\PowerShellEditorServices\PowerShellEditorServices.csproj", "{29EEDF03-0990-45F4-846E-2616970D1FA2}"
2626
EndProject
2727
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowerShellEditorServices.Test.E2E", "test\PowerShellEditorServices.Test.E2E\PowerShellEditorServices.Test.E2E.csproj", "{2561F253-8F72-436A-BCC3-AA63AB82EDC0}"
2828
EndProject

docs/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the PowerShell debugger.
2020
Use the @Microsoft.PowerShell.EditorServices.Console.ConsoleService to provide interactive
2121
console support in the user's editor.
2222

23-
Use the @Microsoft.PowerShell.EditorServices.Engine.Services.ExtensionService to allow
23+
Use the @Microsoft.PowerShell.EditorServices.Services.ExtensionService to allow
2424
the user to extend the host editor with new capabilities using PowerShell code.
2525

2626
The core of all the services is the @Microsoft.PowerShell.EditorServices.PowerShellContext

docs/guide/extensions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ uses PowerShell Editor Services.
99
### Introducing `$psEditor`
1010

1111
The entry point for the PowerShell Editor Services extensibility model is the `$psEditor`
12-
object of the type @Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorObject. For
12+
object of the type @Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorObject. For
1313
those familiar with the PowerShell ISE's `$psISE` object, the `$psEditor` object is very
1414
similar. The primary difference is that this model has been generalized to work against
1515
any editor which leverages PowerShell Editor Services for its PowerShell editing experience.
@@ -19,7 +19,7 @@ any editor which leverages PowerShell Editor Services for its PowerShell editing
1919
> please file an issue on our GitHub page.
2020
2121
This object gives access to all of the high-level services in the current
22-
editing session. For example, the @Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorObject.Workspace
22+
editing session. For example, the @Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorObject.Workspace
2323
property gives access to the editor's workspace, allowing you to create or open files
2424
in the editor.
2525

@@ -79,17 +79,17 @@ Register-EditorCommand `
7979
-ScriptBlock { Write-Output "My command's script block was invoked!" }
8080
```
8181

82-
### The @Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext parameter
82+
### The @Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext parameter
8383

8484
Your function, cmdlet, or ScriptBlock can optionally accept a single parameter
85-
of type @Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext which provides
85+
of type @Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext which provides
8686
information about the state of the host editor at the time your command was
8787
invoked. With this object you can easily perform operations like manipulatin the
8888
state of the user's active editor buffer or changing the current selection.
8989

9090
The usual convention is that a `$context` parameter is added to your editor
9191
command's function. For now it is recommended that you fully specify the
92-
type of the @Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext object
92+
type of the @Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext object
9393
so that you get full IntelliSense on your context parameter.
9494

9595
Here is an example of using the `$context` parameter:
@@ -99,7 +99,7 @@ Register-EditorCommand `
9999
-Name "MyModule.MyEditorCommandWithContext" `
100100
-DisplayName "My command with context usage" `
101101
-ScriptBlock {
102-
param([Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext]$context)
102+
param([Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext]$context)
103103
Write-Output "The user's cursor is on line $($context.CursorPosition.Line)!"
104104
}
105105
```

module/PowerShellEditorServices/Commands/Private/BuiltInCommands.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Register-EditorCommand `
33
-DisplayName 'Open Editor Profile' `
44
-SuppressOutput `
55
-ScriptBlock {
6-
param([Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext]$context)
6+
param([Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext]$context)
77
If (!(Test-Path -Path $Profile)) { New-Item -Path $Profile -ItemType File }
88
$psEditor.Workspace.OpenFile($Profile)
99
}
@@ -13,7 +13,7 @@ Register-EditorCommand `
1313
-DisplayName 'Open Profile from List (Current User)' `
1414
-SuppressOutput `
1515
-ScriptBlock {
16-
param([Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext]$context)
16+
param([Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext]$context)
1717

1818
$Current = Split-Path -Path $profile -Leaf
1919
$List = @($Current,'Microsoft.VSCode_profile.ps1','Microsoft.PowerShell_profile.ps1','Microsoft.PowerShellISE_profile.ps1','Profile.ps1') | Select-Object -Unique

module/PowerShellEditorServices/Commands/Public/CmdletInterface.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function Register-EditorCommand {
4747
$commandArgs += $Function
4848
}
4949

50-
$editorCommand = New-Object Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommand -ArgumentList $commandArgs
50+
$editorCommand = New-Object Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommand -ArgumentList $commandArgs
5151
if ($psEditor.RegisterCommand($editorCommand))
5252
{
5353
Write-Verbose "Registered new command '$Name'"

module/PowerShellEditorServices/Commands/Public/Import-EditorCommand.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function Import-EditorCommand {
77
<#
88
.EXTERNALHELP ..\PowerShellEditorServices.Commands-help.xml
99
#>
10-
[OutputType([Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommand])]
10+
[OutputType([Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommand])]
1111
[CmdletBinding(DefaultParameterSetName='ByCommand')]
1212
param(
1313
[Parameter(Position=0,
@@ -75,7 +75,7 @@ function Import-EditorCommand {
7575
$commands = $Command | Get-Command -ErrorAction SilentlyContinue
7676
}
7777
}
78-
$attributeType = [Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommandAttribute]
78+
$attributeType = [Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommandAttribute]
7979
foreach ($aCommand in $commands) {
8080
# Get the attribute from our command to get name info.
8181
$details = $aCommand.ScriptBlock.Attributes | Where-Object TypeId -eq $attributeType
@@ -99,7 +99,7 @@ function Import-EditorCommand {
9999
}
100100
# Check for a context parameter.
101101
$contextParameter = $aCommand.Parameters.Values |
102-
Where-Object ParameterType -eq ([Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorContext])
102+
Where-Object ParameterType -eq ([Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorContext])
103103

104104
# If one is found then add a named argument. Otherwise call the command directly.
105105
if ($contextParameter) {
@@ -109,7 +109,7 @@ function Import-EditorCommand {
109109
$scriptBlock = [scriptblock]::Create($aCommand.Name)
110110
}
111111

112-
$editorCommand = New-Object Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommand @(
112+
$editorCommand = New-Object Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommand @(
113113
<# commandName: #> $details.Name,
114114
<# displayName: #> $details.DisplayName,
115115
<# suppressOutput: #> $details.SuppressOutput,

module/PowerShellEditorServices/PowerShellEditorServices.psm1

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if ($PSEdition -eq 'Desktop') {
1010
Microsoft.PowerShell.Utility\Add-Type -Path "$PSScriptRoot/bin/Desktop/System.Security.Principal.Windows.dll"
1111
}
1212

13-
Microsoft.PowerShell.Utility\Add-Type -Path "$PSScriptRoot/bin/Microsoft.PowerShell.EditorServices.Engine.dll"
13+
Microsoft.PowerShell.Utility\Add-Type -Path "$PSScriptRoot/bin/Microsoft.PowerShell.EditorServices.dll"
1414

1515
function Start-EditorServicesHost {
1616
[CmdletBinding()]
@@ -91,13 +91,13 @@ function Start-EditorServicesHost {
9191

9292
$editorServicesHost = $null
9393
$hostDetails =
94-
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting.HostDetails @(
94+
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.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.Hosting.EditorServicesHost @(
100+
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.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.Hosting.ProfilePaths @(
111+
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.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.Hosting.EditorServiceTransportConfig
119+
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportConfig
120120

121121
$debugServiceConfig =
122-
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportConfig
122+
Microsoft.PowerShell.Utility\New-Object Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportConfig
123123

124124
switch ($PSCmdlet.ParameterSetName) {
125125
"Stdio" {
126-
$languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportType]::Stdio
127-
$debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportType]::Stdio
126+
$languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportType]::Stdio
127+
$debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportType]::Stdio
128128
break
129129
}
130130
"NamedPipe" {
131-
$languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportType]::NamedPipe
131+
$languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportType]::NamedPipe
132132
$languageServiceConfig.InOutPipeName = "$LanguageServiceNamedPipe"
133133
if ($DebugServiceNamedPipe) {
134-
$debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportType]::NamedPipe
134+
$debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportType]::NamedPipe
135135
$debugServiceConfig.InOutPipeName = "$DebugServiceNamedPipe"
136136
}
137137
break
138138
}
139139
"NamedPipeSimplex" {
140-
$languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportType]::NamedPipe
140+
$languageServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportType]::NamedPipe
141141
$languageServiceConfig.InPipeName = $LanguageServiceInNamedPipe
142142
$languageServiceConfig.OutPipeName = $LanguageServiceOutNamedPipe
143143
if ($DebugServiceInNamedPipe -and $DebugServiceOutNamedPipe) {
144-
$debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Engine.Hosting.EditorServiceTransportType]::NamedPipe
144+
$debugServiceConfig.TransportType = [Microsoft.PowerShell.EditorServices.Hosting.EditorServiceTransportType]::NamedPipe
145145
$debugServiceConfig.InPipeName = $DebugServiceInNamedPipe
146146
$debugServiceConfig.OutPipeName = $DebugServiceOutNamedPipe
147147
}

module/docs/Import-EditorCommand.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Import-EditorCommand function will search the specified module for functions
3030

3131
Alternatively, you can specify command info objects (like those from the Get-Command cmdlet) to be processed directly.
3232

33-
To tag a command as an editor command, attach the attribute 'Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommandAttribute' to the function like you would with 'CmdletBindingAttribute'. The attribute accepts the named parameters 'Name', 'DisplayName', and 'SuppressOutput'.
33+
To tag a command as an editor command, attach the attribute 'Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommandAttribute' to the function like you would with 'CmdletBindingAttribute'. The attribute accepts the named parameters 'Name', 'DisplayName', and 'SuppressOutput'.
3434

3535
## EXAMPLES
3636

@@ -55,7 +55,7 @@ Registers all editor commands that contain "Editor" in the name and return all s
5555
```powershell
5656
function Invoke-MyEditorCommand {
5757
[CmdletBinding()]
58-
[Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommand(DisplayName='My Command', SuppressOutput)]
58+
[Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommand(DisplayName='My Command', SuppressOutput)]
5959
param()
6060
end {
6161
ConvertTo-ScriptExtent -Offset 0 | Set-ScriptExtent -Text 'My Command!'
@@ -145,7 +145,7 @@ You can pass commands to register as editor commands.
145145
146146
## OUTPUTS
147147
148-
### Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext.EditorCommand
148+
### Microsoft.PowerShell.EditorServices.Services.PowerShellContext.EditorCommand
149149
150150
If the "PassThru" parameter is specified editor commands that were successfully registered
151151
will be returned. This function does not output to the pipeline otherwise.

src/PowerShellEditorServices.VSCode/Cmdlets/VSCodeHtmlContentViewCommands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.Management.Automation;
88
using Microsoft.Extensions.DependencyInjection;
99
using Microsoft.Extensions.Logging;
10-
using Microsoft.PowerShell.EditorServices.Engine.Services.PowerShellContext;
10+
using Microsoft.PowerShell.EditorServices.Services.PowerShellContext;
1111
using Microsoft.PowerShell.EditorServices.VSCode.CustomViews;
1212
using OmniSharp.Extensions.LanguageServer.Protocol.Server;
1313

src/PowerShellEditorServices.VSCode/PowerShellEditorServices.VSCode.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<ProjectReference Include="..\PowerShellEditorServices.Engine\PowerShellEditorServices.Engine.csproj" />
18+
<ProjectReference Include="..\PowerShellEditorServices\PowerShellEditorServices.csproj" />
1919
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0">
2020
<PrivateAssets>All</PrivateAssets>
2121
</PackageReference>

src/PowerShellEditorServices.Engine/Hosting/EditorServicesHost.cs renamed to src/PowerShellEditorServices/Hosting/EditorServicesHost.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
using System.Threading.Tasks;
1919
using Microsoft.Extensions.DependencyInjection;
2020
using Microsoft.Extensions.Logging;
21-
using Microsoft.PowerShell.EditorServices.Engine.Server;
22-
using Microsoft.PowerShell.EditorServices.Engine.Services;
21+
using Microsoft.PowerShell.EditorServices.Server;
22+
using Microsoft.PowerShell.EditorServices.Services;
2323
using Microsoft.PowerShell.EditorServices.Utility;
2424
using Serilog;
2525

26-
namespace Microsoft.PowerShell.EditorServices.Engine.Hosting
26+
namespace Microsoft.PowerShell.EditorServices.Hosting
2727
{
2828
public enum EditorServicesHostStatus
2929
{

src/PowerShellEditorServices.Engine/Hosting/HostDetails.cs renamed to src/PowerShellEditorServices/Hosting/HostDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
using System;
77

8-
namespace Microsoft.PowerShell.EditorServices.Engine.Hosting
8+
namespace Microsoft.PowerShell.EditorServices.Hosting
99
{
1010
/// <summary>
1111
/// Contains details about the current host application (most

src/PowerShellEditorServices.Engine/Hosting/ProfilePaths.cs renamed to src/PowerShellEditorServices/Hosting/ProfilePaths.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.IO;
88
using System.Linq;
99

10-
namespace Microsoft.PowerShell.EditorServices.Engine.Hosting
10+
namespace Microsoft.PowerShell.EditorServices.Hosting
1111
{
1212
/// <summary>
1313
/// Provides profile path resolution behavior relative to the name

src/PowerShellEditorServices.Engine/Hosting/PsesLogLevel.cs renamed to src/PowerShellEditorServices/Hosting/PsesLogLevel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
using Microsoft.Extensions.Logging;
77

8-
namespace Microsoft.PowerShell.EditorServices.Engine.Hosting
8+
namespace Microsoft.PowerShell.EditorServices.Hosting
99
{
1010
public enum PsesLogLevel
1111
{

src/PowerShellEditorServices.Engine/Logging/LoggerExtensions.cs renamed to src/PowerShellEditorServices/Logging/LoggerExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.Runtime.CompilerServices;
88
using Microsoft.Extensions.Logging;
99

10-
namespace Microsoft.PowerShell.EditorServices.Engine.Logging
10+
namespace Microsoft.PowerShell.EditorServices.Logging
1111
{
1212
internal static class LoggerExtensions
1313
{

0 commit comments

Comments
 (0)