public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfBlockRepresentationData representationData = (DxfBlockRepresentationData)from; this.Version = representationData.Version; this.DynamicBlock = Class906.smethod_0(cloneContext, representationData.DynamicBlock, false); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockRepresentationData representationData = (DxfBlockRepresentationData)cloneContext.GetExistingClone((IGraphCloneable)this); if (representationData == null) { representationData = new DxfBlockRepresentationData(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)representationData); representationData.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)representationData); }