TextResources class

Manages texts for all EasyQuery Controls visual objects

public static class Korzh.EasyQuery.TextResources

Static Methods

Type Name Description
String Get(String code) Gets a resource string by its code.
TextStorage GetTexts(String storageID = null) Gets current Korzh.Utils.TextStorage object that contains textual resources for this assembly.
void LoadFromFile(String path, TextStorage storage = null) Loads the resources from .properties file into the default TextStorage object
void LoadFromFileForCulture(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.
void LoadFromResources(ResourceManager resManager) Loads texts from resources into the default TextStorage.
void LoadFromStream(Stream stream) Loads resources from a stream into the default TextStorage object
void Put(String code, String value) Sets the value of resource string by its code.
void ReloadNativeResources(String storageId = null) Reloads the resources for specified storage ID. If the ID is not indicated - load the resource for default TextStorage object