ข้ามไปยังเนื้อหา

Interface ILocalizedResourceRegistry

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Localization
Assembly: Cephalon.Abstractions.dll

Registers localized resources by culture and key.

public interface ILocalizedResourceRegistry

Adds one localized text value.

void Add(string culture, string key, string value)

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)

culture string

The culture the values belong to.

resources IReadOnlyDictionary<string, string>

The localized resources to register.