Exemplo n.º 1
0
        // Operations (type-safe ICloneable)

        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public WordCollection Clone()
        {
            WordCollection tc = new WordCollection();

            tc.AddRange(this);
            tc.Capacity  = this.m_array.Length;
            tc.m_version = this.m_version;
            return(tc);
        }
Exemplo n.º 2
0
 // Operations (type-safe ICloneable)
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public WordCollection Clone()
 {
     WordCollection tc = new WordCollection();
     tc.AddRange(this);
     tc.Capacity = this.m_array.Length;
     tc.m_version = this.m_version;
     return tc;
 }