/// <summary>
        /// Determines whether the specified HeadEndSystemSettingsCollection is equal to the current
        /// HeadEndSystemSettingsCollection.
        /// </summary>
        /// <param name="CollectionToCompare">
        /// The HeadEndSystemSettingsCollection to compare with the current
        /// HeadEndSystemSettingsCollection.
        /// </param>
        /// <returns>
        /// true if the specified HeadEndSystemSettingsCollection is equal to the current
        /// HeadEndSystemSettingsCollection; otherwise, false.
        /// </returns>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  04/22/13 jrf 2.80.22 TQ8285 Created
        //
        public bool Equals(HeadEndSystemSettingsCollection CollectionToCompare)
        {
            bool blnEquals = false;

            // If parameter is null return false:
            if ((object)CollectionToCompare == null)
            {
                return(false);
            }
            else
            {
                // Return true if the collections have the same number of elements and every element from one is contained in the other.
                blnEquals = true;

                if (Count == CollectionToCompare.Count)
                {
                    foreach (HeadEndSystemSettings System in this)
                    {
                        //if just one system is not contained in the other, not equal
                        if (false == CollectionToCompare.Contains(System))
                        {
                            blnEquals = false;
                            break; //no need to check any more.
                        }
                    }
                }
                else //different number of elememnts, not equal
                {
                    blnEquals = false;
                }
            }

            return(blnEquals);
        }
 /// <summary>
 /// Copy Constructor.
 /// </summary>
 /// <param name="HeadEndSystems">The Head-end system settings to duplicate.</param>
 //  Revision History
 //  MM/DD/YY Who Version Issue# Description
 //  -------- --- ------- ------ -------------------------------------------
 //  04/22/13 jrf 2.80.22 TQ8285 Created
 //
 public HeadEndSystemSettingsCollection(HeadEndSystemSettingsCollection HeadEndSystems)
     : base()
 {
     if (null != HeadEndSystems)
     {
         //Populate this collection with each member of passed in collection.
         foreach (HeadEndSystemSettings System in HeadEndSystems)
         {
             Add(new HeadEndSystemSettings(System));
         }
     }
 }