Ejemplo n.º 1
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfUnknownEntity dxfUnknownEntity = (DxfUnknownEntity)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfUnknownEntity == null)
            {
                dxfUnknownEntity = new DxfUnknownEntity();
                this.RegisterClone(cloneContext, (IGraphCloneable)dxfUnknownEntity);
                dxfUnknownEntity.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfUnknownEntity);
        }
Ejemplo n.º 2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfUnknownEntity dxfUnknownEntity = (DxfUnknownEntity)from;

            if (dxfUnknownEntity.proxyGraphics_0 == null)
            {
                this.proxyGraphics_0 = (ProxyGraphics)null;
            }
            else
            {
                this.proxyGraphics_0 = (ProxyGraphics)dxfUnknownEntity.proxyGraphics_0.Clone(cloneContext);
            }
        }
Ejemplo n.º 3
0
 public Class307(DxfUnknownEntity entity)
     : base((DxfEntity)entity)
 {
 }