Functions in the automation API which take arrays should take them as params.
For example this should be:
public void ImportPSModule(params string[] name)
{
if (name == null)
throw new ArgumentNullException("name");
foreach (string n in name)
{
ModuleSpecificationsToImport.Add(new ModuleSpecification(n));
}
}
A developer should not have to call this by newing up an array of strings.
Functions in the automation API which take arrays should take them as
params.For example this should be:
A developer should not have to call this by newing up an array of strings.