예제 #1
0
        public void AddIfNotExistsParamArray()
        {
            var people = new System.Collections.Generic.List <PersonProper>(CollectionCount / 2);

            people.AddIfNotExists(base.personProperArrayHalf);

            base.Consumer.Consume(people);
        }
예제 #2
0
        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);
        }