spelling: public identifiers in src/Microsoft.Management.Infrastructure.CimCmdlets

This commit is contained in:
Josh Soref 2016-09-01 16:03:51 +00:00
parent 81a598f242
commit 2aa9caf5a0
4 changed files with 13 additions and 13 deletions

View file

@ -379,7 +379,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
}
if (nameset.Count == 0)
{
throw new PSArgumentException(Strings.UnableToResolvePareameterSetName);
throw new PSArgumentException(Strings.UnableToResolveParameterSetName);
}
else
{
@ -433,7 +433,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
{
if (boundParameterSetName != null)
{
throw new PSArgumentException(Strings.UnableToResolvePareameterSetName);
throw new PSArgumentException(Strings.UnableToResolveParameterSetName);
}
boundParameterSetName = parameterSetName;
}
@ -445,7 +445,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
// throw if there are > 1 parameter set
if (noMandatoryParameterSet.Count > 1)
{
throw new PSArgumentException(Strings.UnableToResolvePareameterSetName);
throw new PSArgumentException(Strings.UnableToResolveParameterSetName);
}
else if (noMandatoryParameterSet.Count == 1)
{
@ -462,7 +462,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
// throw if still can not find the parameter set name
if (boundParameterSetName == null)
{
throw new PSArgumentException(Strings.UnableToResolvePareameterSetName);
throw new PSArgumentException(Strings.UnableToResolveParameterSetName);
}
return boundParameterSetName;
}

View file

@ -208,7 +208,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
string theNameSpace,
string theQueryDialect,
string theQueryExpression,
UInt32 theOpreationTimeout)
UInt32 theOperationTimeout)
{
enableRaisingEvents = false;
status = Status.Default;
@ -220,7 +220,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
this.nameSpace = theNameSpace;
this.queryDialect = ConstValue.GetQueryDialectWithDefault(theQueryDialect);
this.queryExpression = theQueryExpression;
this.operationTimeout = theOpreationTimeout;
this.operationTimeout = theOperationTimeout;
this.computerName = theComputerName;
}

View file

@ -135,17 +135,17 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
/// <param name="nameSpace"></param>
/// <param name="queryDialect"></param>
/// <param name="queryExpression"></param>
/// <param name="opreationTimeout"></param>
/// <param name="operationTimeout"></param>
public void RegisterCimIndication(
string computerName,
string nameSpace,
string queryDialect,
string queryExpression,
UInt32 opreationTimeout)
UInt32 operationTimeout)
{
DebugHelper.WriteLogEx("queryDialect = '{0}'; queryExpression = '{1}'", 0, queryDialect, queryExpression);
this.TargetComputerName = computerName;
CimSessionProxy proxy = CreateSessionProxy(computerName, opreationTimeout);
CimSessionProxy proxy = CreateSessionProxy(computerName, operationTimeout);
proxy.SubscribeAsync(nameSpace, queryDialect, queryExpression);
WaitForAckMessage();
}
@ -157,14 +157,14 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
/// <param name="nameSpace"></param>
/// <param name="queryDialect"></param>
/// <param name="queryExpression"></param>
/// <param name="opreationTimeout"></param>
/// <param name="operationTimeout"></param>
/// <exception cref="ArgumentNullException">throw if cimSession is null</exception>
public void RegisterCimIndication(
CimSession cimSession,
string nameSpace,
string queryDialect,
string queryExpression,
UInt32 opreationTimeout)
UInt32 operationTimeout)
{
DebugHelper.WriteLogEx("queryDialect = '{0}'; queryExpression = '{1}'", 0, queryDialect, queryExpression);
if (cimSession == null)
@ -172,7 +172,7 @@ namespace Microsoft.Management.Infrastructure.CimCmdlets
throw new ArgumentNullException(String.Format(CultureInfo.CurrentUICulture, Strings.NullArgument, @"cimSession"));
}
this.TargetComputerName = cimSession.ComputerName;
CimSessionProxy proxy = CreateSessionProxy(cimSession, opreationTimeout);
CimSessionProxy proxy = CreateSessionProxy(cimSession, operationTimeout);
proxy.SubscribeAsync(nameSpace, queryDialect, queryExpression);
WaitForAckMessage();
}

View file

@ -221,7 +221,7 @@
<value>Unable to add property '{0}' to input object '{1}'. The class schema does not contain the property.</value>
<comment>{0} stand for property name, {1} stand for cim instance path.</comment>
</data>
<data name="UnableToResolvePareameterSetName" xml:space="preserve">
<data name="UnableToResolveParameterSetName" xml:space="preserve">
<value>Unable to resolve the parameter set name.</value>
<comment>N/A</comment>
</data>