Beispiel #1
0
        // Operations (type-safe ICloneable)

        /// <summary>
        /// Clones the list
        /// </summary>
        /// <returns></returns>
        public KeyboardActionList Clone()
        {
            KeyboardActionList tc = new KeyboardActionList();

            tc.AddRange(this);
            tc.Capacity  = this.m_array.Length;
            tc.m_version = this.m_version;
            return(tc);
        }
 // Operations (type-safe ICloneable)
 /// <summary>
 /// Clones the list
 /// </summary>
 /// <returns></returns>
 public KeyboardActionList Clone()
 {
     KeyboardActionList tc = new KeyboardActionList();
     tc.AddRange(this);
     tc.Capacity = this.m_array.Length;
     tc.m_version = this.m_version;
     return tc;
 }