Skip to main content

IHistoryManager<T>

An interface in Root.Township, the global namespace.

Undo and redo history for one kind of action, such as the customization screen's. Implemented by HistoryManager<T> and EmptyHistory<T>.

Properties​

MemberWhat it is
bool IsPushPossible { get; }Whether a new action can be added now.

Methods​

MemberWhat it is
void Push(T item)Adds an action to the history.

Used in​

Members of other types that take, return or hold a IHistoryManager&lt;T>: