Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public ProtocolListenerCollection Clone()
        {
            ProtocolListenerCollection c = new ProtocolListenerCollection();

            c.arrayList.AddRange(this.arrayList);
            return(c);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public ProtocolListenerEnumerator(ProtocolListenerCollection collection)
 {
     this.collection = ArrayList.Synchronized(collection.Clone());
 }
Exemplo n.º 3
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public ProtocolListenerCollection Clone()
 {
     ProtocolListenerCollection c = new ProtocolListenerCollection();
     c.arrayList.AddRange(this.arrayList);
     return c;
 }
Exemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public ProtocolListenerEnumerator(ProtocolListenerCollection collection)
 {
     this.collection = ArrayList.Synchronized(collection.Clone());
 }