InitializeTextClass() публичный статический Метод

Initializes a static class that contains static LocalText objects. These objects actually contains localized texts in default language, but this method adds them to local text dictionary and replaces their values with text keys generated from concatting a prefix and the variable name.
public static InitializeTextClass ( Type type, string prefix ) : void
type System.Type Type to initialize that contains texts
prefix string Prefix to add text keys (e.g. "Db.SomeCategory.")
Результат void
Пример #1
0
 static SelectEditor()
 {
     LocalText.InitializeTextClass(typeof(SelectEditor), "Controls.SelectEditor.");
 }
 static EntityDialog()
 {
     LocalText.InitializeTextClass(typeof(EntityDialog), "Controls.EntityDialog.");
 }
Пример #3
0
 static Pager()
 {
     LocalText.InitializeTextClass(typeof(Pager), "Controls.Pager.");
 }
Пример #4
0
 static Texts()
 {
     LocalText.InitializeTextClass(typeof(Dialogs), "Dialogs.");
 }
Пример #5
0
 static EntityGrid()
 {
     LocalText.InitializeTextClass(typeof(EntityGrid), "Controls.EntityGrid.");
 }
 static PropertyGrid()
 {
     LocalText.InitializeTextClass(typeof(PropertyGrid), "Controls.PropertyGrid.");
 }
Пример #7
0
 static QuickSearch()
 {
     LocalText.InitializeTextClass(typeof(QuickSearch), "Controls.QuickSearch.");
 }