Interface ILocalizedResourceRegistry
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Localization
Assembly: Cephalon.Abstractions.dll
Registers localized resources by culture and key.
public interface ILocalizedResourceRegistryMethods
Section titled “Methods”Add(string, string, string)
Section titled “ Add(string, string, string)”Adds one localized text value.
void Add(string culture, string key, string value)Parameters
Section titled “Parameters”culture string
The culture the value belongs to.
key string
The localized resource key.
value string
The localized text value.
Add(string, IReadOnlyDictionary<string, string>)
Section titled “ Add(string, IReadOnlyDictionary<string, string>)”Adds a batch of localized text values for one culture.
void Add(string culture, IReadOnlyDictionary<string, string> resources)Parameters
Section titled “Parameters”culture string
The culture the values belong to.
resources IReadOnlyDictionary<string, string>
The localized resources to register.