NanoByte.Common
Classes
NanoByte.Common.Undo Namespace Reference

An Undo-system based on the Command pattern. More...

Classes

class  AddToCollection
 An undo command that adds an element to a collection. More...
 
class  CollectionCommand
 An undo command that adds or removes an element from a collection. More...
 
class  CommandCollector
 Executes IUndoCommands and collects them into a CompositeCommand allowing a combined undo later on. More...
 
class  CommandManager
 Executes IUndoCommands for editing a specific object and allows undo/redo operations. More...
 
class  CompositeCommand
 Combines multiple IUndoCommands into a single atomic transaction. More...
 
class  FirstExecuteCommand
 An undo command that does something different on the first call to Execute than on subsequent redo calls. More...
 
interface  ICommandExecutor
 Executes IUndoCommands. More...
 
interface  ICommandManager
 Executes IUndoCommands for editing a specific object and allows undo/redo operations. More...
 
interface  IUndoCommand
 A executable command with an undo function. More...
 
interface  IValueCommand
 A command that exposes the value it will set. More...
 
class  MultiPropertyChangedCommand
 An undo command that handles multiple changed properties - usually used with a PropertyGrid. More...
 
class  MultiPropertyTracker
 Tracks values in PropertyGrids in order to be able to generate MultiPropertyChangedCommands after a property was changed. More...
 
class  PreExecutedCommand
 An undo command that does nothing on the first IUndoCommand.Execute call, because the action was already performed beforehand More...
 
class  PreExecutedCompositeCommand
 Combines multiple already executed IUndoCommands into a single atomic transaction. More...
 
class  PropertyChangedCommand
 An undo command that handles a changed property - usually used with a PropertyGrid. More...
 
class  RemoveFromCollection
 An undo command that removes an element from a collection. More...
 
class  ReplaceInList
 An undo command that replaces an element in a list with a new one. More...
 
class  SetInList
 Replaces an entry in a IList<T> with a new one. More...
 
class  SetLocalizableString
 An undo command that sets a LocalizableString in a LocalizableStringCollection. More...
 
class  SetValueCommand
 An undo command that uses a delegates for getting and setting values from a backing model. More...
 
class  SimpleCommand
 An undo command that automatically tracks when Execute and Undo can be called. More...
 
class  SimpleCommandExecutor
 Executes IUndoCommands without any additional handling. More...
 

Detailed Description

An Undo-system based on the Command pattern.