Example #1
0
        internal static DxfPlaceHolder smethod_2(bool useFixedHandles)
        {
            DxfPlaceHolder dxfPlaceHolder = new DxfPlaceHolder();

            if (useFixedHandles)
            {
                dxfPlaceHolder.SetHandle(15UL);
            }
            return(dxfPlaceHolder);
        }
Example #2
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfPlaceHolder dxfPlaceHolder = (DxfPlaceHolder)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfPlaceHolder == null)
            {
                dxfPlaceHolder = new DxfPlaceHolder();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfPlaceHolder);
                dxfPlaceHolder.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfPlaceHolder);
        }