LocalizationControllerGetEntries - метод
Get localization entries of specified language for all localization libraries. Entries are returned without comments.
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")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<Dictionary<string, string>>> GetEntries(
[FromQueryAttribute] string culture,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("entries")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function GetEntries (
<FromQueryAttribute> culture As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Dictionary(Of String, String)))
public:
[HttpGetAttribute(L"entries")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<Dictionary<String^, String^>^>^>^ GetEntries(
[FromQueryAttribute] String^ culture,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("entries")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member GetEntries :
[<FromQueryAttribute>] culture : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<Dictionary<string, string>>>
- culture String
-
Localization language of returned entries. For example "en" for English, "ru" for Russian, etc.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultDictionaryString,
StringLocalization entries of specified language for all localization libraries.