C# 클래스 NanoByte.Common.Undo.SetLocalizableString

An undo command that sets a LocalizableString in a LocalizableStringCollection.
상속: SimpleCommand
파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

공개 메소드들

메소드 설명
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