A class in Root.Township, the global namespace.
Undo history that stores nothing: pushes, undos and redos do nothing. Use the shared Instance where no history is wanted.
Constructors
| Member | What it is |
|---|
EmptyHistory() | Creates an EmptyHistory with default values. |
Properties
| Member | What it is |
|---|
static EmptyHistory<T> Instance { get; } | The shared instance for T. |
bool IsPushPossible { get; } | Always false. |
bool IsRedoPossible { get; } | Always false. |
bool IsUndoPossible { get; } | Always false. |
Events
| Member | What it is |
|---|
event Action ItemPushed | Never raised. |
Methods
| Member | What it is |
|---|
void Clear() | Does nothing. |
void Push(T item) | Does nothing. |
void Redo() | Does nothing. |
void Undo() | Does nothing. |