Exemplo n.º 1
0
        /// <summary>
        /// Cloning constructor.
        /// </summary>
        protected SimpleDataLut(SimpleDataLut source, ICloningContext context)
        {
            context.CloneFields(source, this);

            //clone the actual buffer
            _data = (int[])source._data.Clone();
        }
Exemplo n.º 2
0
		/// <summary>
		/// Cloning constructor.
		/// </summary>
		protected SimpleDataLut(SimpleDataLut source, ICloningContext context)
		{
			context.CloneFields(source, this);

			//clone the actual buffer
			_data = (int[])source._data.Clone();
		}