Skip to content

Commit 64dd41d

Browse files
committed
Revert remaining comment changes
1 parent 9dcaef4 commit 64dd41d

25 files changed

+31
-31
lines changed

src/PowerShellEditorServices.Host/EditorServicesHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public EditorServicesHost(
134134
#region Public Methods
135135

136136
/// <summary>
137-
/// Starts the ILogger for the specified file path and log level.
137+
/// Starts the Logger for the specified file path and log level.
138138
/// </summary>
139139
/// <param name="logFilePath">The path of the log file to be written.</param>
140140
/// <param name="logLevel">The minimum level of log messages to be written.</param>

src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public IEditorOperations EditorOperations
5454
/// <param name="messageHandlers">An object that manages all of the message handlers</param>
5555
/// <param name="messageSender">The message sender</param>
5656
/// <param name="serverCompletedTask">A TaskCompletionSource<bool> that will be completed to stop the running process</param>
57-
/// <param name="logger">the ILogger</param>
57+
/// <param name="logger">the logger</param>
5858
public LanguageServer(
5959
EditorSession editorSession,
6060
IMessageHandlers messageHandlers,

src/PowerShellEditorServices/Components/FeatureComponentBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public abstract class FeatureComponentBase<TProvider>
2727
public IFeatureProviderCollection<TProvider> Providers { get; private set; }
2828

2929
/// <summary>
30-
/// Gets the ILogger to use for writing log
30+
/// Gets the ILogger implementation to use for writing log
3131
/// messages.
3232
/// </summary>
3333
protected ILogger Logger { get; private set; }
3434

3535
/// <summary>
3636
/// Creates an instance of the FeatureComponentBase class with
37-
/// the specified ILoggger.
37+
/// the specified ILogger.
3838
/// </summary>
39-
/// <param name="logger">the ILogger to use for this instance.</param>
39+
/// <param name="logger">The ILogger implementation to use for this instance.</param>
4040
public FeatureComponentBase(ILogger logger)
4141
{
4242
this.Providers = new FeatureProviderCollection<TProvider>();

src/PowerShellEditorServices/Console/InputPromptHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public abstract class InputPromptHandler : PromptHandler
3535
/// <summary>
3636
///
3737
/// </summary>
38-
/// <param name="logger">Logger used for writing log messages.</param>
38+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
3939
public InputPromptHandler(ILogger logger) : base(logger)
4040
{
4141
}

src/PowerShellEditorServices/Console/PromptHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ namespace Microsoft.PowerShell.EditorServices.Console
1414
public abstract class PromptHandler
1515
{
1616
/// <summary>
17-
/// Gets the ILogger used for this instance.
17+
/// Gets the ILogger implementation used for this instance.
1818
/// </summary>
1919
protected ILogger Logger { get; private set; }
2020

2121
/// <summary>
2222
///
2323
/// </summary>
24-
/// <param name="logger">Logger used for writing log messages.</param>
24+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
2525
public PromptHandler(ILogger logger)
2626
{
2727
this.Logger = logger;

src/PowerShellEditorServices/Console/TerminalChoicePromptHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal class TerminalChoicePromptHandler : ConsoleChoicePromptHandler
3434
/// The IHostOutput implementation to use for writing to the
3535
/// console.
3636
/// </param>
37-
/// <param name="logger">Logger used for writing log messages.</param>
37+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
3838
public TerminalChoicePromptHandler(
3939
ConsoleReadLine consoleReadLine,
4040
IHostOutput hostOutput,

src/PowerShellEditorServices/Console/TerminalInputPromptHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ internal class TerminalInputPromptHandler : ConsoleInputPromptHandler
3535
/// The IHostOutput implementation to use for writing to the
3636
/// console.
3737
/// </param>
38-
/// <param name="logger">Logger used for writing log messages.</param>
38+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
3939
public TerminalInputPromptHandler(
4040
ConsoleReadLine consoleReadLine,
4141
IHostOutput hostOutput,

src/PowerShellEditorServices/Debugging/DebugService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class DebugService
8080
/// <param name="powerShellContext">
8181
/// The PowerShellContext to use for all debugging operations.
8282
/// </param>
83-
/// <param name="logger">Logger used for writing log messages.</param>
83+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
8484
public DebugService(PowerShellContext powerShellContext, ILogger logger)
8585
: this(powerShellContext, null, logger)
8686
{
@@ -96,7 +96,7 @@ public DebugService(PowerShellContext powerShellContext, ILogger logger)
9696
/// <param name="remoteFileManager">
9797
/// A RemoteFileManager instance to use for accessing files in remote sessions.
9898
/// </param>
99-
/// <param name="logger">Logger used for writing log messages.</param>
99+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
100100
public DebugService(
101101
PowerShellContext powerShellContext,
102102
RemoteFileManager remoteFileManager,

src/PowerShellEditorServices/Language/AstOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ internal static class AstOperations
3939
/// <param name="powerShellContext">
4040
/// The PowerShellContext to use for gathering completions.
4141
/// </param>
42-
/// <param name="logger">Logger used for writing log messages.</param>
42+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
4343
/// <param name="cancellationToken">
4444
/// A CancellationToken to cancel completion requests.
4545
/// </param>

src/PowerShellEditorServices/Language/LanguageService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class LanguageService
4848
/// <param name="powerShellContext">
4949
/// The PowerShellContext in which language service operations will be executed.
5050
/// </param>
51-
/// <param name="logger">Logger used for writing log messages.</param>
51+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
5252
public LanguageService(
5353
PowerShellContext powerShellContext,
5454
ILogger logger)

src/PowerShellEditorServices/Session/EditorSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public class EditorSession
8484
/// <summary>
8585
///
8686
/// </summary>
87-
/// <param name="logger">Logger used for writing log messages.</param>
87+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
8888
public EditorSession(ILogger logger)
8989
{
9090
this.logger = logger;

src/PowerShellEditorServices/Session/Host/EditorServicesPSHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class EditorServicesPSHost : PSHost, IHostSupportsInteractiveSession
4444
/// <param name="hostUserInterface">
4545
/// The EditorServicesPSHostUserInterface implementation to use for this host.
4646
/// </param>
47-
/// <param name="logger">Logger to use for this host.</param>
47+
/// <param name="logger">An ILogger implementation to use for this host.</param>
4848
public EditorServicesPSHost(
4949
PowerShellContext powerShellContext,
5050
HostDetails hostDetails,

src/PowerShellEditorServices/Session/Host/EditorServicesPSHostUserInterface.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public abstract class EditorServicesPSHostUserInterface :
7979
private bool IsCommandLoopRunning { get; set; }
8080

8181
/// <summary>
82-
/// Gets the ILogger used for this host.
82+
/// Gets the ILogger implementation used for this host.
8383
/// </summary>
8484
protected ILogger Logger { get; private set; }
8585

@@ -93,7 +93,7 @@ public abstract class EditorServicesPSHostUserInterface :
9393
/// </summary>
9494
/// <param name="powerShellContext">The PowerShellContext to use for executing commands.</param>
9595
/// <param name="rawUserInterface">The PSHostRawUserInterface implementation to use for this host.</param>
96-
/// <param name="logger">Logger to use for this host.</param>
96+
/// <param name="logger">An ILogger implementation to use for this host.</param>
9797
public EditorServicesPSHostUserInterface(
9898
PowerShellContext powerShellContext,
9999
PSHostRawUserInterface rawUserInterface,

src/PowerShellEditorServices/Session/Host/SimplePSHostRawUserInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class SimplePSHostRawUserInterface : PSHostRawUserInterface
3131
/// Creates a new instance of the SimplePSHostRawUserInterface
3232
/// class with the given IConsoleHost implementation.
3333
/// </summary>
34-
/// <param name="logger">the ILogger to use for this instance.</param>
34+
/// <param name="logger">The ILogger implementation to use for this instance.</param>
3535
public SimplePSHostRawUserInterface(ILogger logger)
3636
{
3737
this.Logger = logger;

src/PowerShellEditorServices/Session/Host/TerminalPSHostRawUserInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal class TerminalPSHostRawUserInterface : PSHostRawUserInterface
3131
/// Creates a new instance of the TerminalPSHostRawUserInterface
3232
/// class with the given IConsoleHost implementation.
3333
/// </summary>
34-
/// <param name="logger">the ILogger to use for this instance.</param>
34+
/// <param name="logger">The ILogger implementation to use for this instance.</param>
3535
public TerminalPSHostRawUserInterface(ILogger logger)
3636
{
3737
this.Logger = logger;

src/PowerShellEditorServices/Session/Host/TerminalPSHostUserInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class TerminalPSHostUserInterface : EditorServicesPSHostUserInterface
3131
/// class with the given IConsoleHost implementation.
3232
/// </summary>
3333
/// <param name="powerShellContext">The PowerShellContext to use for executing commands.</param>
34-
/// <param name="logger">Logger to use for this host.</param>
34+
/// <param name="logger">An ILogger implementation to use for this host.</param>
3535
public TerminalPSHostUserInterface(
3636
PowerShellContext powerShellContext,
3737
ILogger logger)

src/PowerShellEditorServices/Session/PowerShellContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public RunspaceDetails CurrentRunspace
116116
/// <summary>
117117
///
118118
/// </summary>
119-
/// <param name="logger">Logger used for writing log messages.</param>
119+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
120120
public PowerShellContext(ILogger logger)
121121
{
122122
this.logger = logger;
@@ -130,7 +130,7 @@ public PowerShellContext(ILogger logger)
130130
/// <param name="hostUserInterface">
131131
/// The EditorServicesPSHostUserInterface to use for this instance.
132132
/// </param>
133-
/// <param name="logger">Logger to use for this instance.</param>
133+
/// <param name="logger">An ILogger implementation to use for this instance.</param>
134134
/// <returns></returns>
135135
public static Runspace CreateRunspace(
136136
HostDetails hostDetails,

src/PowerShellEditorServices/Session/PowerShellVersionDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public PowerShellVersionDetails(
9090
/// Gets the PowerShell version details for the given runspace.
9191
/// </summary>
9292
/// <param name="runspace">The runspace for which version details will be gathered.</param>
93-
/// <param name="logger">Logger used for writing log messages.</param>
93+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
9494
/// <returns>A new PowerShellVersionDetails instance.</returns>
9595
public static PowerShellVersionDetails GetVersionDetails(Runspace runspace, ILogger logger)
9696
{

src/PowerShellEditorServices/Session/RemoteFileManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function New-EditorFile {
242242
/// <param name="editorOperations">
243243
/// The IEditorOperations instance to use for opening/closing files in the editor.
244244
/// </param>
245-
/// <param name="logger">Logger used for writing log messages.</param>
245+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
246246
public RemoteFileManager(
247247
PowerShellContext powerShellContext,
248248
IEditorOperations editorOperations,

src/PowerShellEditorServices/Session/RunspaceDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ internal bool HasCapability<TCapability>()
183183
/// <param name="sessionDetails">
184184
/// The SessionDetails for the runspace.
185185
/// </param>
186-
/// <param name="logger">Logger used for writing log messages.</param>
186+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
187187
/// <returns>A new RunspaceDetails instance.</returns>
188188
internal static RunspaceDetails CreateFromRunspace(
189189
Runspace runspace,

src/PowerShellEditorServices/Templates/TemplateService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class TemplateService
3333
/// Creates a new instance of the TemplateService class.
3434
/// </summary>
3535
/// <param name="powerShellContext">The PowerShellContext to use for this service.</param>
36-
/// <param name="logger">Logger used for writing log messages.</param>
36+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
3737
public TemplateService(PowerShellContext powerShellContext, ILogger logger)
3838
{
3939
Validate.IsNotNull(nameof(powerShellContext), powerShellContext);

src/PowerShellEditorServices/Utility/AsyncContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static class AsyncContext
2323
/// The Task-returning Func which represents the "main" function
2424
/// for the thread.
2525
/// </param>
26-
/// <param name="logger">Logger used for writing log messages.</param>
26+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
2727
public static void Start(Func<Task> asyncMainFunc, ILogger logger)
2828
{
2929
// Is there already a synchronization context?

src/PowerShellEditorServices/Utility/AsyncContextThread.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public AsyncContextThread(string threadName)
4747
/// <param name="taskReturningFunc">
4848
/// A Func which returns the task to be run on the thread.
4949
/// </param>
50-
/// <param name="logger">Logger used for writing log messages.</param>
50+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
5151
/// <returns>
5252
/// A Task which can be used to monitor the thread for completion.
5353
/// </returns>

src/PowerShellEditorServices/Utility/ThreadSynchronizationContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ThreadSynchronizationContext : SynchronizationContext
2929
/// <summary>
3030
///
3131
/// </summary>
32-
/// <param name="logger">Logger used for writing log messages.</param>
32+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
3333
public ThreadSynchronizationContext(ILogger logger)
3434
{
3535
this.logger = logger;

src/PowerShellEditorServices/Workspace/Workspace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class Workspace
4242
/// Creates a new instance of the Workspace class.
4343
/// </summary>
4444
/// <param name="powerShellVersion">The version of PowerShell for which scripts will be parsed.</param>
45-
/// <param name="logger">Logger used for writing log messages.</param>
45+
/// <param name="logger">An ILogger implementation used for writing log messages.</param>
4646
public Workspace(Version powerShellVersion, ILogger logger)
4747
{
4848
this.powerShellVersion = powerShellVersion;

0 commit comments

Comments
 (0)