public override IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockVisibilityParameter visibilityParameter = (DxfBlockVisibilityParameter)cloneContext.GetExistingClone((IGraphCloneable)this); if (visibilityParameter == null) { visibilityParameter = new DxfBlockVisibilityParameter(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)visibilityParameter); visibilityParameter.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)visibilityParameter); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfTextObjectContextData objectContextData = (DxfTextObjectContextData)cloneContext.GetExistingClone((IGraphCloneable)this); if (objectContextData == null) { objectContextData = new DxfTextObjectContextData(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)objectContextData); objectContextData.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)objectContextData); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfMLineStyle dxfMlineStyle = (DxfMLineStyle)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfMlineStyle == null) { dxfMlineStyle = new DxfMLineStyle(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfMlineStyle); dxfMlineStyle.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfMlineStyle); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfView dxfView = (DxfView)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfView == null) { dxfView = new DxfView(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfView); dxfView.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfView); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockLookupGrip dxfBlockLookupGrip = (DxfBlockLookupGrip)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfBlockLookupGrip == null) { dxfBlockLookupGrip = new DxfBlockLookupGrip(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfBlockLookupGrip); dxfBlockLookupGrip.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfBlockLookupGrip); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockAlignmentParameter alignmentParameter = (DxfBlockAlignmentParameter)cloneContext.GetExistingClone((IGraphCloneable)this); if (alignmentParameter == null) { alignmentParameter = new DxfBlockAlignmentParameter(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)alignmentParameter); alignmentParameter.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)alignmentParameter); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockArrayAction blockArrayAction = (DxfBlockArrayAction)cloneContext.GetExistingClone((IGraphCloneable)this); if (blockArrayAction == null) { blockArrayAction = new DxfBlockArrayAction(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)blockArrayAction); blockArrayAction.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)blockArrayAction); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfPolygonSplineMesh polygonSplineMesh = (DxfPolygonSplineMesh)cloneContext.GetExistingClone((IGraphCloneable)this); if (polygonSplineMesh == null) { polygonSplineMesh = new DxfPolygonSplineMesh(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)polygonSplineMesh); polygonSplineMesh.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)polygonSplineMesh); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockPropertiesTable blockPropertiesTable = (DxfBlockPropertiesTable)cloneContext.GetExistingClone((IGraphCloneable)this); if (blockPropertiesTable == null) { blockPropertiesTable = new DxfBlockPropertiesTable(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)blockPropertiesTable); blockPropertiesTable.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)blockPropertiesTable); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfDictionary dictionary = (DxfDictionary)cloneContext.GetExistingClone((IGraphCloneable)this); if (dictionary == null) { dictionary = new DxfDictionary(false); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dictionary); dictionary.CopyFrom((DxfHandledObject)this, cloneContext); cloneContext.CloneBuilders.Add((ICloneBuilder) new DxfDictionary.Class753(dictionary)); } return((IGraphCloneable)dictionary); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfImageDef dxfImageDef = (DxfImageDef)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfImageDef == null) { dxfImageDef = new DxfImageDef(cloneContext.TargetModel); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfImageDef); dxfImageDef.CopyFrom((DxfHandledObject)this, cloneContext); cloneContext.TargetModel.Images.Add(dxfImageDef); } return((IGraphCloneable)dxfImageDef); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfDimensionStyle to = (DxfDimensionStyle)cloneContext.GetExistingClone((IGraphCloneable)this); if (to == null) { to = new DxfDimensionStyle(cloneContext.TargetModel); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)to); to.CopyFrom((DxfHandledObject)this, cloneContext); cloneContext.CloneBuilders.Add((ICloneBuilder) new DxfDimensionStyle.Class400(this, to)); } return((IGraphCloneable)to); }
public IGraphCloneable Clone(CloneContext cloneContext) { DxfLookupActionInformation actionInformation = (DxfLookupActionInformation)cloneContext.GetExistingClone((IGraphCloneable)this); if (actionInformation == null) { actionInformation = new DxfLookupActionInformation(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)actionInformation); actionInformation.Id = (DxfEvalGraph.GraphNodeId)cloneContext.Clone((IGraphCloneable)this.Id); actionInformation.ResourceType = this.ResourceType; actionInformation.Type = this.Type; actionInformation.PropertyType = this.PropertyType; actionInformation.Unmatched = this.Unmatched; actionInformation.ConnectionText = this.ConnectionText; actionInformation.AllowEditing = this.AllowEditing; } return((IGraphCloneable)actionInformation); }