protected virtual void CopyFrom(CloneContext cloneContext, DxfEvalGraph.GraphNode from) { this.graphNodeId_0 = (DxfEvalGraph.GraphNodeId)cloneContext.Clone((IGraphCloneable)from.graphNodeId_0); this.Expression = (DxfObject)cloneContext.Clone((IGraphCloneable)from.Expression); this.int_0 = from.int_0; this.int_1 = from.int_1; this.int_2 = from.int_2; this.int_3 = from.int_3; }
public IGraphCloneable Clone(CloneContext cloneContext) { DxfEvalGraph.GraphNode graphNode = (DxfEvalGraph.GraphNode)cloneContext.GetExistingClone((IGraphCloneable)this); if (graphNode == null) { graphNode = new DxfEvalGraph.GraphNode(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)graphNode); graphNode.CopyFrom(cloneContext, this); } return((IGraphCloneable)graphNode); }