/// <summary>
 /// Initializes object with the specified DXConnection object.
 /// </summary>
 public DXConnectionQuery(DXConnectionQuery query)
 {
     if (query != null)
     {
         Name       = query.Name;
         BrowsePath = query.BrowsePath;
         Recursive  = query.Recursive;
         m_masks    = new DXConnectionCollection(query.Masks);
     }
 }
        // Token: 0x060003D3 RID: 979 RVA: 0x0000ACDC File Offset: 0x00009CDC
        public virtual object Clone()
        {
            DXConnectionCollection dxconnectionCollection = (DXConnectionCollection)base.MemberwiseClone();

            dxconnectionCollection.m_connections = new ArrayList();
            foreach (object obj in this.m_connections)
            {
                DXConnection dxconnection = (DXConnection)obj;
                dxconnectionCollection.m_connections.Add(dxconnection.Clone());
            }
            return(dxconnectionCollection);
        }
Exemple #3
0
        /// <summary>
        /// Creates a deep copy of the object.
        /// </summary>
        public virtual object Clone()
        {
            DXConnectionCollection clone = (DXConnectionCollection)MemberwiseClone();

            clone.m_connections = new ArrayList();

            foreach (DXConnection item in m_connections)
            {
                clone.m_connections.Add(item.Clone());
            }

            return(clone);
        }