spelling: locals in src/Microsoft.Management.Infrastructure.CimCmdlets

This commit is contained in:
Josh Soref 2016-08-28 21:55:36 +00:00
parent 96e9b64b65
commit 445467d517
6 changed files with 16 additions and 16 deletions

View file

@ -855,7 +855,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
/// <summary>
/// certificate parameter set
/// </summary>
internal const string CertificatePrameterSet = "CertificatePrameterSet";
internal const string CertificateParameterSet = "CertificateParameterSet";
/// <summary>
/// CimInstance parameter alias

View file

@ -220,7 +220,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
this.nameSpace = theNameSpace;
this.queryDialect = ConstValue.GetQueryDialectWithDefault(theQueryDialect);
this.queryExpression = theQueryExpression;
this.opreationTimeout = theOpreationTimeout;
this.operationTimeout = theOpreationTimeout;
this.computerName = theComputerName;
}
@ -299,7 +299,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
this.nameSpace,
this.queryDialect,
this.queryExpression,
this.opreationTimeout);
this.operationTimeout);
}
else
{
@ -308,7 +308,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
this.nameSpace,
this.queryDialect,
this.queryExpression,
this.opreationTimeout);
this.operationTimeout);
}
status = Status.Started;
}
@ -392,7 +392,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
private string nameSpace;
private string queryDialect;
private string queryExpression;
private UInt32 opreationTimeout;
private UInt32 operationTimeout;
#endregion
#endregion
}

View file

@ -971,8 +971,8 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
CimTestCimSessionContext testCimSessionContext = context as CimTestCimSessionContext;
UInt32 sessionId = this.sessionState.GenerateSessionId();
string orginalSessioName = testCimSessionContext.CimSessionWrapper.Name;
string sessionName = (orginalSessioName != null) ? orginalSessioName : String.Format(CultureInfo.CurrentUICulture, @"{0}{1}", CimSessionState.CimSessionClassName, sessionId);
string originalSessionName = testCimSessionContext.CimSessionWrapper.Name;
string sessionName = (originalSessionName != null) ? originalSessionName : String.Format(CultureInfo.CurrentUICulture, @"{0}{1}", CimSessionState.CimSessionClassName, sessionId);
// detach CimSession from the proxy object
CimSession createdCimSession = testCimSessionContext.Proxy.Detach();

View file

@ -141,17 +141,17 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
}
Exception exception = null;
CimInstance intance = cmdlet.CimInstance;
CimInstance instance = cmdlet.CimInstance;
// For CimInstance parameter sets, Property is an optional parameter
if (cmdlet.Property != null)
{
if (!SetProperty(cmdlet.Property, ref intance, ref exception))
if (!SetProperty(cmdlet.Property, ref instance, ref exception))
{
cmdlet.ThrowTerminatingError(exception, action);
return;
}
}
proxy.ModifyInstanceAsync(nameSpace, intance);
proxy.ModifyInstanceAsync(nameSpace, instance);
}
break;
case CimBaseCommand.QueryComputerSet:

View file

@ -64,7 +64,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
/// This is specificly for wsman protocol.
/// </summary>
[Parameter(ValueFromPipelineByPropertyName = true,
ParameterSetName = CertificatePrameterSet)]
ParameterSetName = CertificateParameterSet)]
public String CertificateThumbprint
{
get { return certificatethumbprint; }

View file

@ -157,11 +157,11 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
/// <summary>
/// Flag used to control generating message into powershell
/// </summary>
private static bool genrateVerboseMessage = true;
internal static bool GenrateVerboseMessage
private static bool generateVerboseMessage = true;
internal static bool GenerateVerboseMessage
{
get { return genrateVerboseMessage; }
set { genrateVerboseMessage = value; }
get { return generateVerboseMessage; }
set { generateVerboseMessage = value; }
}
/// <summary>
@ -203,7 +203,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
internal static string removeParameterSetName = @"Remove parameter set {0} name from cache";
internal static string currentParameterSetNameCount = @"Cache have {0} parameter set names";
internal static string currentParameterSetNameInCache = @"Cache have parameter set {0} valid {1}";
internal static string currentnonMadatoryParameterSetInCache = @"Cache have optional parameter set {0} valid {1}";
internal static string currentnonMandatoryParameterSetInCache = @"Cache have optional parameter set {0} valid {1}";
internal static string optionalParameterSetNameCount = @"Cache have {0} optional parameter set names";
internal static string finalParameterSetName = @"------Final parameter set name of the cmdlet is {0}";
internal static string addToOptionalParameterSet = @"Add to optional ParameterSetNames {0}";