LocalizationControllerPostGetLibraries - метод
Get all localization libraries.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<PlainLocalizationLibrary>>> PostGetLibraries(
[FromQueryAttribute(Name = "comments")] bool returnComments = false,
CancellationToken cancellationToken = default
)
<HttpGetAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostGetLibraries (
<FromQueryAttribute(Name := "comments")> Optional returnComments As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of PlainLocalizationLibrary)))
public:
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<List<PlainLocalizationLibrary^>^>^>^ PostGetLibraries(
[FromQueryAttribute(Name = L"comments")] bool returnComments = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostGetLibraries :
[<FromQueryAttribute(Name = "comments")>] ?returnComments : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _returnComments = defaultArg returnComments false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<PlainLocalizationLibrary>>>
- 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.
TaskActionResultListPlainLocalizationLibraryAll localization libraries.