/// <summary> /// Constructor. At the moment of the constructor call the site should not be inserted yet /// </summary> /// <param name="edgePar"></param> public SiteRemoveUndoAction(GeomEdge edgePar) : base((GeometryGraph)edgePar.GeometryParent) { this.editedEdge = edgePar; this.AddRestoreData(editedEdge, RestoreHelper.GetRestoreData(editedEdge)); }
/// <summary> /// Constructor. At the moment of the constructor call the site should not be inserted yet /// </summary> /// <param name="edgeToEdit"></param> public SiteInsertUndoAction(GeomEdge edgeToEdit) : base((GeometryGraph)edgeToEdit.GeometryParent) { this.editedEdge = edgeToEdit; this.AddRestoreData(editedEdge, RestoreHelper.GetRestoreData(editedEdge)); }