Click or drag to resize

IUndoRedoManagerTDo(IListIMementoT) Method

Pushes mementos into the undo stack, any time the state of Subject changes.

Namespace: RAYLASE.Marker.UndoRedo
Assembly: RAYLASE.Marker.UndoRedo (in RAYLASE.Marker.UndoRedo.dll) Version: 2.19.0
Syntax
C#
void Do(
	IList<IMemento<T>> mementos
)

Parameters

mementos  IListIMementoT
The mementos to be added.
Remarks
This method MUST be properly invoked by programmers right before (preferably) or right after the state of manager is changed. Whenever Do(IMementoUTP) or Do(IListIMementoUTP) is called, the status of InUndoRedo should aways be checked first. See details at InUndoRedo. This method causes redo stack to be cleared.
See Also