コード例 #1
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);
        }
コード例 #2
0
ファイル: ArrayWrapper.cs プロジェクト: modulexcite/SDSlite
        /// <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;
		}