public void Add(ConstructorCandidate candidate)
{
if (fewerArgumentsCandidate == null)
{
fewerArgumentsCandidate = candidate;
}
else
{
if (candidate.Constructor.GetParameters().Length <
fewerArgumentsCandidate.Constructor.GetParameters().Length)
{
fewerArgumentsCandidate = candidate;
}
}
InnerList.Add(candidate);
}