LocalizationControllerPostGetGivenEntries - метод
Get localization entries of specified language for specified entries' names only.
Method acknowledges overriding of localization strings with same names in different libraries.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("get-given-entries")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<PlainLocalizationEntry>>> PostGetGivenEntries(
[FromBodyAttribute] LocalizationEntriesRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-given-entries")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<DisableRequestSizeLimitAttribute>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostGetGivenEntries (
<FromBodyAttribute> request As LocalizationEntriesRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of PlainLocalizationEntry)))
public:
[HttpPostAttribute(L"get-given-entries")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<List<PlainLocalizationEntry^>^>^>^ PostGetGivenEntries(
[FromBodyAttribute] LocalizationEntriesRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-given-entries")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<DisableRequestSizeLimitAttribute>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostGetGivenEntries :
[<FromBodyAttribute>] request : LocalizationEntriesRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<PlainLocalizationEntry>>>
- request LocalizationEntriesRequest
- Request to get specified localization entries.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultListPlainLocalizationEntryLocalization entries of specified language for specified entries' names only.