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
collectionLocalizableStringCollectionThe collection to be modified.
elementLocalizableStringThe 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()