ChangeHistory.md

January 20, 2026 · View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core

ChangeHistory Class

Represents a history of changes in a virtual file system.

public sealed class ChangeHistory : Atypical.VirtualFileSystem.Core.IChangeHistory, System.IDisposable

Inheritance System.Object 🡒 ChangeHistory

Implements IChangeHistory, System.IDisposable

Constructors
ChangeHistory(IVirtualFileSystem)Initializes a new instance of the ChangeHistory class.
Properties
RedoStackGets the redo stack.
UndoStackGets the undo stack.
Methods
AddChange(VFSEventArgs)Adds a change to the history.
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Dispose(bool)Releases the unmanaged resources used by the ChangeHistory and optionally releases the managed resources.
OnChange(VFSEventArgs)Handles the change event from the virtual file system.
Redo()Redoes the most recent undone change.
Undo()Undoes the most recent change.
~ChangeHistory()Finalizes an instance of the ChangeHistory class.