From cb0422e7f5af7e0a0403631b4a4b7b2c5f45af7f Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 28 Aug 2016 05:48:22 +0000 Subject: [PATCH] spelling: comments in src/System.Management.Automation/logging --- .../logging/LogContext.cs | 2 +- src/System.Management.Automation/logging/MshLog.cs | 12 ++++++------ .../logging/eventlog/EventLogLogProvider.cs | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/System.Management.Automation/logging/LogContext.cs b/src/System.Management.Automation/logging/LogContext.cs index 30751dc7e..3dba2fd7a 100644 --- a/src/System.Management.Automation/logging/LogContext.cs +++ b/src/System.Management.Automation/logging/LogContext.cs @@ -72,7 +72,7 @@ namespace System.Management.Automation /// /// Type of the command, which can be Alias, CommandLet, Script, Application, etc. /// - /// The value of this property is a usually coversion of CommandTypes enum into a string. + /// The value of this property is a usually conversion of CommandTypes enum into a string. /// /// internal string CommandType { get; set; } = ""; diff --git a/src/System.Management.Automation/logging/MshLog.cs b/src/System.Management.Automation/logging/MshLog.cs index 414360a82..e26c6bfed 100644 --- a/src/System.Management.Automation/logging/MshLog.cs +++ b/src/System.Management.Automation/logging/MshLog.cs @@ -32,7 +32,7 @@ namespace System.Management.Automation /// /// Msh Log Engine provides features in following areas, /// 1. Loading and managing logging providers. Based on some "Provider Catalog", engine will try to - /// load providers. First provider that is sucessfully loaded will be used for low level logging. + /// load providers. First provider that is successfully loaded will be used for low level logging. /// If no providers can be loaded, a dummy provider will be used, which will essentially do nothing. /// 2. Implementation of logging api functions. These api functions is implemented by calling corresponding /// functions in provider interface. @@ -222,7 +222,7 @@ namespace System.Management.Automation /// LogEngineHealthEvent: Log an engine health event. If engine state is changed, a engine /// lifecycle event will be logged also. /// - /// This is the basic form of EngineHealthEvent logging api, in which all paramters are provided. + /// This is the basic form of EngineHealthEvent logging api, in which all parameters are provided. /// /// Variant form of this function is defined below, which will make parameters additionalInfo /// and newEngineState optional. @@ -382,7 +382,7 @@ namespace System.Management.Automation /// /// LogEngineLifecycleEvent: Log an engine lifecycle event. /// - /// This is the basic form of EngineLifecycleEvent logging api, in which all paramters are provided. + /// This is the basic form of EngineLifecycleEvent logging api, in which all parameters are provided. /// /// Variant form of this function is defined below, which will make parameter additionalInfo /// optional. @@ -473,7 +473,7 @@ namespace System.Management.Automation #region Command Lifecycle Event Logging Api /// - /// LogCommandLifecycleEvent: Log a command lifecyle event. + /// LogCommandLifecycleEvent: Log a command lifecycle event. /// /// This is the only form of CommandLifecycleEvent logging api. /// @@ -513,7 +513,7 @@ namespace System.Management.Automation } /// - /// LogCommandLifecycleEvent: Log a command lifecyle event. + /// LogCommandLifecycleEvent: Log a command lifecycle event. /// /// This is a form of CommandLifecycleEvent which takes a commandName instead /// of invocationInfo. It is likely that invocationInfo is not available if @@ -665,7 +665,7 @@ namespace System.Management.Automation #region Provider Lifecycle Event Logging Api /// - /// LogProviderLifecycleEvent: Log a provider lifecyle event. + /// LogProviderLifecycleEvent: Log a provider lifecycle event. /// /// This is the only form of ProviderLifecycleEvent logging api. /// diff --git a/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs b/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs index 8996a2d75..52bf3facd 100644 --- a/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs +++ b/src/System.Management.Automation/logging/eventlog/EventLogLogProvider.cs @@ -184,7 +184,7 @@ namespace System.Management.Automation private const int _invalidEventId = -1; /// - /// Get engine lifecyle event id based on engine state + /// Get engine lifecycle event id based on engine state /// /// ///