/// <summary>Creates a copy of ArrayWrapper instance</summary>
        /// <returns>Full copy of ArrayWrapper</returns>
        public virtual ArrayWrapper Copy()
        {
            ArrayWrapper aw = new ArrayWrapper(rank, type);

            if (array != null)
            {
                aw.PutData(null, array);
            }

            return(aw);
        }
예제 #2
0
        /// <summary>Creates a copy of ArrayWrapper instance</summary>
        /// <returns>Full copy of ArrayWrapper</returns>
		public virtual ArrayWrapper Copy()
		{
			ArrayWrapper aw = new ArrayWrapper(rank, type);
			if (array != null)
				aw.PutData(null, array);

			return aw;
		}