자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void Push(IMemento originator) { undoStack.Push(Tuple.Create(originator, originator.Memento)); originator.SaveMemento(); redoStack.Clear(); // Branching from timeline, so erase the current redo cache }