Skip to content

Commit 0ea0535

Browse files
committed
Remove most subnamespaces from core library code
This change removes many subnamespaces that had been used in the core .NET library for this project. This should help with type discoverability when a developer is using IntelliSense. The only remaining subnamespace is "Utility" since those classes are not essential to typical usage of the library. This change may be reversed in the future if sufficient feedback is received that subnamespaces are helpful.
1 parent 0b3e3d2 commit 0ea0535

File tree

113 files changed

+104
-198
lines changed

Some content is hidden

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

113 files changed

+104
-198
lines changed

src/PowerShellEditorServices.Host/MessageLoop.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
//
55

66
using Microsoft.PowerShell.EditorServices;
7-
using Microsoft.PowerShell.EditorServices.Console;
8-
using Microsoft.PowerShell.EditorServices.Session;
97
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
108
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
119
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Model;

src/PowerShellEditorServices.Host/StdioConsoleHost.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Console;
76
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
87
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
98
using Microsoft.PowerShell.EditorServices.Utility;

src/PowerShellEditorServices.Transport.Stdio/Event/DiagnosticEvent.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Session;
76
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
87
using System.Collections.Generic;
98

src/PowerShellEditorServices.Transport.Stdio/Event/ReplPromptChoiceEvent.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Console;
76
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
87

98
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Event

src/PowerShellEditorServices.Transport.Stdio/Event/ReplWriteOutputEvent.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Console;
76
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
87
using System;
98

src/PowerShellEditorServices.Transport.Stdio/Message/IMessageProcessor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Session;
76
using System.Threading.Tasks;
87

98
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Message

src/PowerShellEditorServices.Transport.Stdio/Model/Breakpoint.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Microsoft.PowerShell.EditorServices.Console;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
43
using System.Linq;
54
using System.Text;

src/PowerShellEditorServices.Transport.Stdio/Model/Scope.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Microsoft.PowerShell.EditorServices.Console;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
43
using System.Linq;
54
using System.Text;

src/PowerShellEditorServices.Transport.Stdio/Model/StackFrame.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
using Microsoft.PowerShell.EditorServices.Console;
3-
42
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Model
53
{
64
public class StackFrame

src/PowerShellEditorServices.Transport.Stdio/Model/Variable.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
using Microsoft.PowerShell.EditorServices.Console;
32
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Model
43
{
54
public class Variable

0 commit comments

Comments
 (0)