C# Класс NanoByte.Common.Undo.SetLocalizableString

An undo command that sets a LocalizableString in a LocalizableStringCollection.
Наследование: SimpleCommand
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SetLocalizableString ( LocalizableStringCollection collection, LocalizableString element ) : System.Collections.Generic

Creates a new localizable string command.

Защищенные методы

Метод Описание
OnExecute ( ) : void

Sets the entry in the collection.

OnUndo ( ) : void

Restores the original entry in the collection.

Описание методов

OnExecute() защищенный Метод

Sets the entry in the collection.
protected OnExecute ( ) : void
Результат void

OnUndo() защищенный Метод

Restores the original entry in the collection.
protected OnUndo ( ) : void
Результат void

SetLocalizableString() публичный Метод

Creates a new localizable string command.
public SetLocalizableString ( LocalizableStringCollection collection, LocalizableString element ) : System.Collections.Generic
collection LocalizableStringCollection The collection to be modified.
element LocalizableString The entry to be set in the .
Результат System.Collections.Generic