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); }
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); } }
public Class307(DxfUnknownEntity entity) : base((DxfEntity)entity) { }