LocalizationBinaryControllerPostGetEntries - метод

Get localization entries of specified language for all localization libraries. 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#
[HttpPostAttribute("GetEntries")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/x-tessa", new string[] { ... })]
public Task<List<LocalizationEntry>> PostGetEntries(
	[FromBodyAttribute] CultureInfo culture,
	[FromBodyAttribute] bool returnComments = false,
	CancellationToken cancellationToken = default
)

Параметры

culture  CultureInfo
Localization language of returned entries. For example "en" for English, "ru" for Russian, etc.
returnComments  Boolean  (Optional)
Flag whether entries will be returned with comments for each entry. They are useful for localization editor. If false, when localization strings of specified language are returned, but not the comments.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskListLocalizationEntry
Localization entries of specified language for all localization libraries.

См. также