NanoByte.Common
2.6.1
|
An undo command that sets a LocalizableString in a LocalizableStringCollection. More...
Public Member Functions | |
SetLocalizableString (LocalizableStringCollection collection, LocalizableString element) | |
Creates a new localizable string command. More... | |
![]() | |
void | Execute () |
Performs the desired action. More... | |
virtual void | Undo () |
Undoes the changes made by Execute. More... | |
Protected Member Functions | |
override void | OnExecute () |
Sets the entry in the collection. More... | |
override void | OnUndo () |
Restores the original entry in the collection. More... | |
An undo command that sets a LocalizableString in a LocalizableStringCollection.
|
inline |
Creates a new localizable string command.
collection | The collection to be modified. |
element | The entry to be set in the collection . |
|
inlineprotectedvirtual |
Sets the entry in the collection.
Implements NanoByte.Common.Undo.SimpleCommand.
|
protectedvirtual |
Restores the original entry in the collection.
Implements NanoByte.Common.Undo.SimpleCommand.