Exemplo n.º 1
0
        public BrandStatCollection Copy()
        {
            BrandStatCollection clone = new BrandStatCollection();

            // Copy each reference across
            foreach (BrandStat c in base.List)
            {
                clone.Add(c);
            }

            return(clone);
        }
Exemplo n.º 2
0
        public bool Contains(BrandStatCollection values)
        {
            foreach (BrandStat c in values)
            {
                // Use base class to process actual collection operation
                if (Contains(c))
                {
                    return(true);
                }
            }

            return(false);
        }