public override HistoryMemento PerformUndo() { HistoryMemento redoMemento = new HistoryMementoDeleteKeyframe(metadata, keyframeId); redoMemento.CommandName = CommandName; metadata.DeleteKeyframe(keyframeId); return(redoMemento); }
public override HistoryMemento PerformUndo() { HistoryMemento redoMemento = new HistoryMementoDeleteKeyframe(metadata, keyframeId); redoMemento.CommandName = CommandName; metadata.DeleteKeyframe(keyframeId); return(redoMemento); }