public void AddIfNotExistsParamArray() { var people = new System.Collections.Generic.List <PersonProper>(CollectionCount / 2); people.AddIfNotExists(base.personProperArrayHalf); base.Consumer.Consume(people); }
public void AddIfNotExistsSingle() { var people = new System.Collections.Generic.List <PersonProper>(base.CollectionCount); foreach (var person in base.personProperCollection) { people.AddIfNotExists(person); } base.Consumer.Consume(people); }