Exemple #1
0
        /// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns>New instance of <see cref="RowData"/> with the same values.</returns>
        public RowData Clone()
        {
            var result = new RowData(this.Parent);

            for (int i = 0; i < result.data.Length; ++i)
            {
                result.data[i] = this.data[i];
            }

            return(result);
        }
Exemple #2
0
        /// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns>New instance of <see cref="RowData"/> with the same values.</returns>
        public RowData Clone()
        {
            var result = new RowData(this.Parent);
            for (int i = 0; i < result.data.Length; ++i)
            {
                result.data[i] = this.data[i];
            }

            return result;
        }