LocalizationBinaryControllerPostGetEntries - метод
Get localization entries of specified language for all localization libraries.
Method acknowledges overriding of localization strings with same names in different libraries.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[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
)
<HttpPostAttribute("GetEntries")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/x-tessa", New String() { ... })>
Public Function PostGetEntries (
<FromBodyAttribute> culture As CultureInfo,
<FromBodyAttribute> Optional returnComments As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of List(Of LocalizationEntry))
public:
[HttpPostAttribute(L"GetEntries")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/x-tessa", __gc new array<String^>^ { ... })]
Task<List<LocalizationEntry^>^>^ PostGetEntries(
[FromBodyAttribute] CultureInfo^ culture,
[FromBodyAttribute] bool returnComments = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("GetEntries")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/x-tessa", new string[] { ... })>]
member PostGetEntries :
[<FromBodyAttribute>] culture : CultureInfo *
[<FromBodyAttribute>] ?returnComments : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _returnComments = defaultArg returnComments false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<List<LocalizationEntry>>
- 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.
TaskListLocalizationEntryLocalization entries of specified language for all localization libraries.