spelling: comments in src/System.Management.Automation/singleshell

This commit is contained in:
Josh Soref committed 2016-08-28 06:00:17 +00:00
1 parent d898f18b3d
commit 777bc2c1a3
10 files changed
+18 -18

No files matched your search

@@ -21,7 +21,7 @@ namespace System.Management.Automation.Runspaces
/// 2. Data values for the content represented by Console file. Later this data
/// is used by other components ( MshConsoleInfo ) to construct Monad Types ( like
/// PSSnapInInfo ).
/// 3. Owns responsibilty to read/write Files.
/// 3. Owns responsibility to read/write Files.
///
/// Risk:
/// File Acces related security issues.
@@ -419,7 +419,7 @@ namespace System.Management.Automation.Runspaces
IsDirty = false;
Filename = null;
// Intialize list of mshsnapins..
// Initialize list of mshsnapins..
_defaultPSSnapIns = new Collection<PSSnapInInfo>();
_externalPSSnapIns = new Collection<PSSnapInInfo>();
}
@@ -451,7 +451,7 @@ namespace System.Management.Automation.Runspaces
catch (PSArgumentException ae)
{
string message = ConsoleInfoErrorStrings.CannotLoadDefaults;
// If we were unalbe to load default mshsnapins throw PSSnapInException
// If we were unable to load default mshsnapins throw PSSnapInException
s_mshsnapinTracer.TraceError(message);
@@ -460,7 +460,7 @@ namespace System.Management.Automation.Runspaces
catch (System.Security.SecurityException se)
{
string message = ConsoleInfoErrorStrings.CannotLoadDefaults;
// If we were unalbe to load default mshsnapins throw PSSnapInException
// If we were unable to load default mshsnapins throw PSSnapInException
s_mshsnapinTracer.TraceError(message);
@@ -814,7 +814,7 @@ namespace System.Management.Automation.Runspaces
/// </exception>
private Collection<PSSnapInInfo> Load(string path, out PSConsoleLoadException cle)
{
// Intialize the out parameter..
// Initialize the out parameter..
cle = null;
s_mshsnapinTracer.WriteLine("Load mshsnapins from console file {0}", path);
@@ -933,7 +933,7 @@ namespace System.Management.Automation.Runspaces
/// <summary>
/// Constructs a new list of mshsnapins from defualt mshsnapins and external mshsnapins.
/// Constructs a new list of mshsnapins from default mshsnapins and external mshsnapins.
/// </summary>
/// <returns>A list of mshsnapins represented by the current console file</returns>
private Collection<PSSnapInInfo> MergeDefaultExternalMshSnapins()
@@ -31,7 +31,7 @@ namespace System.Management.Automation.Runspaces
public class PSConsoleLoadException : SystemException, IContainsErrorRecord
{
/// <summary>
/// Intiate an instance of PSConsoleLoadException.
/// Initiate an instance of PSConsoleLoadException.
/// </summary>
/// <param name="consoleInfo">Console info object for the exception</param>
/// <param name="exceptions">A collection of PSSnapInExceptions.</param>
@@ -159,7 +159,7 @@ namespace System.Management.Automation.Runspaces
}
/// <summary>
/// Get object data from serizliation information.
/// Get object data from serialization information.
/// </summary>
/// <param name="info"> Serialization information </param>
/// <param name="context"> Streaming context </param>
@@ -227,7 +227,7 @@ namespace System.Management.Automation
public bool IsDefault { get; }
/// <summary>
/// Retuns applicationbase for mshsnapin
/// Returns applicationbase for mshsnapin
/// </summary>
public string ApplicationBase { get; }
@@ -630,7 +630,7 @@ namespace System.Management.Automation
{
mshsnapins.Add(ReadOne(mshsnapinRoot, id));
}
//If we cannot read some mshsnapins, we should contiune
//If we cannot read some mshsnapins, we should continue
catch (SecurityException)
{
}
@@ -906,7 +906,7 @@ namespace System.Management.Automation
string.Format(CultureInfo.CurrentCulture, "{0} is null", RegistryStrings.MonadEngine_MonadVersion));
// Get version number in x.x.x.x format
// This information is available from the exeucting assembly
// This information is available from the executing assembly
//
// PROBLEM: The following code assumes all assemblies have the same version,
// culture, publickeytoken...This will break the scenarios where only one of
@@ -189,7 +189,7 @@ namespace System.Management.Automation.Runspaces
}
/// <summary>
/// Get object data from serizliation information.
/// Get object data from serialization information.
/// </summary>
/// <param name="info"> Serialization information </param>
/// <param name="context"> Streaming context </param>
@@ -414,7 +414,7 @@ namespace System.Management.Automation
/// </summary>
///
/// <param name="assemblyName">
/// The FullName of the assembly to load. This takes precendence over the modulePath and
/// The FullName of the assembly to load. This takes precedence over the modulePath and
/// will be passed to as a parameter to the ReflectionOnlyLoad.
/// </param>
///
@@ -15,7 +15,7 @@ namespace System.Management.Automation.Runspaces
/// Runspace config for single shell are a special kind of runspace
/// configuration that is generated for single shells.
///
/// This class needs to handle the standard managment of
/// This class needs to handle the standard management of
///
/// 1. consoleInfo: each instance of this class will have
/// a consoleInfo object.
@@ -33,7 +33,7 @@ namespace System.Management.Automation
/// Developers should derive from this class to implement their own
/// custom mshsnapins.
///
/// Derived mshsnapins should be denotated with [RunInstaller] attribute
/// Derived mshsnapins should be denoted with [RunInstaller] attribute
/// so that installutil.exe can directly install the mshsnapin into registry.
/// </remarks>
public abstract class CustomPSSnapIn : PSSnapInInstaller
@@ -35,7 +35,7 @@ namespace System.Management.Automation
/// 1. accessing system registry
/// 2. support of additional command line parameters.
/// 3. writing registry files
/// 4. automatically extract informaton like vender, version, etc.
/// 4. automatically extract information like vender, version, etc.
///
/// Different monad component will derive from this class. Two common
/// components that need install include,
@@ -28,7 +28,7 @@ namespace System.Management.Automation
/// Developers should derive from this class when implementing their own
/// mshsnapins.
///
/// Derived mshsnapins should be denotated with [RunInstaller] attribute
/// Derived mshsnapins should be denoted with [RunInstaller] attribute
/// so that installutil.exe can directly install the mshsnapin into registry.
/// </remarks>
public abstract class PSSnapIn : PSSnapInInstaller
@@ -30,7 +30,7 @@ namespace System.Management.Automation
/// Here, the information about registry content is provided.
///
/// The reason of not calling this class MshSnapinInstaller is to "hide" the details
/// that MshSnapin class is actually doing installion. It is also more intuitive
/// that MshSnapin class is actually doing installation. It is also more intuitive
/// since people deriving from this class will think there are really
/// implementing a class for mshsnapin.
///