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.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[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
)
<HttpGetAttribute("entries-with-comments")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function GetEntriesWithComments (
<FromQueryAttribute> culture As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of PlainLocalizationEntry)))
public:
[HttpGetAttribute(L"entries-with-comments")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<List<PlainLocalizationEntry^>^>^>^ GetEntriesWithComments(
[FromQueryAttribute] String^ culture,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("entries-with-comments")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member GetEntriesWithComments :
[<FromQueryAttribute>] culture : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<PlainLocalizationEntry>>>
- culture String
-
Localization language of returned entries. For example "en" for English, "ru" for Russian, etc.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultListPlainLocalizationEntryLocalization entries of specified language for all localization libraries.