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.GraphNodeId graphNodeId = (DxfEvalGraph.GraphNodeId)cloneContext.GetExistingClone((IGraphCloneable)this); if (graphNodeId == null) { graphNodeId = new DxfEvalGraph.GraphNodeId(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)graphNodeId); graphNodeId.CopyFrom(this); } return((IGraphCloneable)graphNodeId); }
public GraphNode( int id, DxfObject expression, int firstIncomingEdge, int lastIncomingEdge, int firstOutgoingEdge, int lastOutgoingEdge) { this.graphNodeId_0 = new DxfEvalGraph.GraphNodeId(id); this.int_0 = firstIncomingEdge; this.int_1 = lastIncomingEdge; this.int_2 = firstOutgoingEdge; this.int_3 = lastOutgoingEdge; this.Expression = expression; }
public static DxfEvalGraph.GraphNodeId[] Clone( CloneContext cloneContext, DxfEvalGraph.GraphNodeId[] cloneFrom) { if (cloneFrom == null) { return((DxfEvalGraph.GraphNodeId[])null); } DxfEvalGraph.GraphNodeId[] graphNodeIdArray = new DxfEvalGraph.GraphNodeId[cloneFrom.Length]; for (int index = 0; index < cloneFrom.Length; ++index) { graphNodeIdArray[index] = (DxfEvalGraph.GraphNodeId)cloneContext.Clone((IGraphCloneable)cloneFrom[index]); } return(graphNodeIdArray); }
protected virtual void CopyFrom(DxfEvalGraph.GraphNodeId from) { this.Id = from.Id; }