예제 #1
0
        public override HistoryMemento PerformUndo()
        {
            HistoryMemento redoMemento = new HistoryMementoDeleteKeyframe(metadata, keyframeId);

            redoMemento.CommandName = CommandName;

            metadata.DeleteKeyframe(keyframeId);

            return(redoMemento);
        }