C# (CSharp) NanoByte.Common.Undo Namespace

Classes

Name Description
CollectionTest
CommandCollector Executes IUndoCommands and collects them into a CompositeCommand allowing a combined undo later on.
CommandCollectorTest
CommandCollectorTest.MockCommand
CompositeCommand Combines multiple IUndoCommands into a single atomic transaction.
CompositeCommandTest
CompositeCommandTest.MockCommand
FirstExecuteCommand An undo command that does something different on the first call to Execute than on subsequent redo calls.
MultiPropertyChangedCommand An undo command that handles multiple changed properties - usually used with a PropertyGrid.
MultiPropertyTracker Tracks values in PropertyGrids in order to be able to generate MultiPropertyChangedCommands after a property was changed.
PreExecutedCommand An undo command that does nothing on the first IUndoCommand.Execute call, because the action was already performed beforehand
PreExecutedCompositeCommand Combines multiple already executed IUndoCommands into a single atomic transaction.
PreExecutedCompositeCommandTest
PreExecutedCompositeCommandTest.MockCommand
PropertyChangedCommand An undo command that handles a changed property - usually used with a PropertyGrid.
ReplaceInListTest
SetLocalizableString An undo command that sets a LocalizableString in a LocalizableStringCollection.
SetLocalizableStringTest
SimpleCommand An undo command that automatically tracks when Execute and Undo can be called.
SimpleCommandExecutor Executes IUndoCommands without any additional handling.