Skip to main content

textresources-class

Manages texts for all EasyQuery WinControls visual objects

public static class Korzh.EasyQuery.Wpf.TextResources

Assembly: Korzh.EasyQuery.WPF.dll

Static Methods

NameTypeDescription
Get(string code)stringGets a resource string by its code.
GetTexts(string storageID = null)TextStorageGets current Korzh.Utils.TextStorage object that contains textual resources for this assembly.
LoadFromFile(string path, TextStorage storage = null)voidLoads the resources from .properties file into the default TextStorage object
LoadFromFileForCulture(string baseFileName, CultureInfo cultureInfo = null, string fileExt = properties)voidLoads the resources from .properties file into the default TextStorage object. The name of the .properties file is based on the culture for current thread.
LoadFromResources(ResourceManager resManager)voidLoads texts from resources into the default TextStorage.
LoadFromStream(Stream stream)voidLoads resources from a stream into the default TextStorage object
Put(string code, string value)voidSets the value of resource string by its code.
ReloadNativeResources(string storageId = null)voidReloads the resources for specified storage ID. If the ID is not indicated - load the resource for default TextStorage object