Skip to content

TextResources class

Manages texts for all EasyQuery Controls visual objects

public static class Korzh.EasyQuery.TextResources
TypeNameDescription
StringGet(String code)Gets a resource string by its code.
TextStorageGetTexts(String storageID = null)Gets current Korzh.Utils.TextStorage object that contains textual resources for this assembly.
voidLoadFromFile(String path, TextStorage storage = null)Loads the resources from .properties file into the default TextStorage object
voidLoadFromFileForCulture(String baseFileName, CultureInfo cultureInfo = null, String fileExt = properties)Loads the resources from .properties file into the default TextStorage object. The name of the .properties file is based on the culture for current thread.
voidLoadFromResources(ResourceManager resManager)Loads texts from resources into the default TextStorage.
voidLoadFromStream(Stream stream)Loads resources from a stream into the default TextStorage object
voidPut(String code, String value)Sets the value of resource string by its code.
voidReloadNativeResources(String storageId = null)Reloads the resources for specified storage ID. If the ID is not indicated - load the resource for default TextStorage object