public IGraphCloneable Clone(CloneContext cloneContext) { DxfConnectionPoint dxfConnectionPoint = (DxfConnectionPoint)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfConnectionPoint == null) { dxfConnectionPoint = new DxfConnectionPoint(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfConnectionPoint); dxfConnectionPoint.CopyFrom(cloneContext, this); } return((IGraphCloneable)dxfConnectionPoint); }
public static DxfConnectionPoint[] Clone( CloneContext cloneContext, DxfConnectionPoint[] cloneFrom) { if (cloneFrom == null) { return((DxfConnectionPoint[])null); } DxfConnectionPoint[] dxfConnectionPointArray = new DxfConnectionPoint[cloneFrom.Length]; for (int index = 0; index < cloneFrom.Length; ++index) { dxfConnectionPointArray[index] = (DxfConnectionPoint)cloneContext.Clone((IGraphCloneable)cloneFrom[index]); } return(dxfConnectionPointArray); }
protected virtual void CopyFrom(CloneContext cloneContext, DxfConnectionPoint from) { this.graphNodeId_0 = (DxfEvalGraph.GraphNodeId)cloneContext.Clone((IGraphCloneable)from.graphNodeId_0); this.string_0 = from.string_0; }
protected virtual void CopyFrom(CloneContext cloneContext, DxfBlockParameterPropertyInfo from) { this.dxfConnectionPoint_0 = DxfConnectionPoint.Clone(cloneContext, from.dxfConnectionPoint_0); }