LocalizationControllerGetEntriesWithComments - метод

Get localization entries of specified language for all localization libraries. Entries are returned with comments, useful for localization editor. 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-with-comments")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<PlainLocalizationEntry>>> GetEntriesWithComments(
	[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.

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

TaskActionResultListPlainLocalizationEntry
Localization entries of specified language for all localization libraries.

См. также