LocalizationControllerGetEntries - метод

Get localization entries of specified language for all localization libraries. Entries are returned without comments. Method acknowledges overriding of localization strings with same names in different libraries.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute("entries")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<Dictionary<string, string>>> GetEntries(
	[FromQueryAttribute] string culture,
	CancellationToken cancellationToken = default
)

Параметры

culture  String
Localization language of returned entries. For example "en" for English, "ru" for Russian, etc.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

TaskActionResultDictionaryString, String
Localization entries of specified language for all localization libraries.

См. также