Class SetLocalizableString
An undo command that sets a LocalizableString in a LocalizableStringCollection.
public sealed class SetLocalizableString : SimpleCommand, IUndoCommand
- Inheritance
-
objectSetLocalizableString
- Implements
- Inherited Members
- Extension Methods
Constructors
SetLocalizableString(LocalizableStringCollection, LocalizableString)
An undo command that sets a LocalizableString in a LocalizableStringCollection.
public SetLocalizableString(LocalizableStringCollection collection, LocalizableString element)
Parameters
collection
LocalizableStringCollectionThe collection to be modified.
element
LocalizableStringThe entry to be set in the
collection
.
Methods
OnExecute()
Sets the entry in the collection.
protected override void OnExecute()
OnUndo()
Restores the original entry in the collection.
protected override void OnUndo()