示例#1
0
 /// <summary>
 /// Creates an instance and returns it for deep copy
 /// </summary>
 /// <returns>Created instance for deep copy</returns>
 public override ShapeElement Copy()
 {
     return(CloneUtil <ShapeElement> .DeepClone <ShapeElement>(this));
 }
示例#2
0
        /// <summary>
        /// Creates an instance and returns it for deep copy
        /// </summary>
        /// <returns>Created instance for deep copy</returns>
        public override ShapeElement Copy()
        {
            return(CloneUtil <ShapeElement> .DeepClone <ShapeElement>(this));

            //return this.CreateInstanceForCopy() as ShapeElement;
        }