/// <summary>
/// Constructs an instance of a ParameterSetSignature
/// </summary>
/// <param name="commandParamInfoSet">Collection of parameter info</param>
public ParameterSetSignature(CommandParameterSetInfo commandParamInfoSet)
{
List<ParameterInfo> parameterInfo = new List<ParameterInfo>();
foreach (CommandParameterInfo commandParameterInfo in commandParamInfoSet.Parameters)
{
if (!commonParameterNames.Contains(commandParameterInfo.Name))
{
parameterInfo.Add(new ParameterInfo(commandParameterInfo));
}
}
SignatureText = commandParamInfoSet.ToString();
Parameters = parameterInfo.ToArray();
}