private ListValue GetPartsDubbed(StringValue searchTerm)
{
// Get the list of all the parts where the part's API name OR its GUI title or its tag name matches.
List<global::Part> kspParts = new List<global::Part>();
kspParts.AddRange(GetRawPartsNamed(searchTerm));
kspParts.AddRange(GetRawPartsTitled(searchTerm));
kspParts.AddRange(GetRawPartsTagged(searchTerm));
// The "Distinct" operation is there because it's possible for someone to use a tag name that matches the part name.
return PartValueFactory.Construct(kspParts.Distinct(), Shared);
}