SettingsUnitsUiControllerGetUIFragmentRecord - метод
Retrieves the settings fragment record by its name available for current session.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpGetAttribute("units/{unitName}/{fragmentName}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<SettingsUnitRecord>> GetUIFragmentRecord(
[FromRouteAttribute] string unitName,
[FromRouteAttribute] string fragmentName,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("units/{unitName}/{fragmentName}")>
<ProducesResponseTypeAttribute(200)>
<ProducesAttribute("application/json", New String() { ... })>
Public Function GetUIFragmentRecord (
<FromRouteAttribute> unitName As String,
<FromRouteAttribute> fragmentName As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of SettingsUnitRecord))
public:
[HttpGetAttribute(L"units/{unitName}/{fragmentName}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
Task<ActionResult<SettingsUnitRecord^>^>^ GetUIFragmentRecord(
[FromRouteAttribute] String^ unitName,
[FromRouteAttribute] String^ fragmentName,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("units/{unitName}/{fragmentName}")>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
member GetUIFragmentRecord :
[<FromRouteAttribute>] unitName : string *
[<FromRouteAttribute>] fragmentName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<SettingsUnitRecord>>
- unitName String
- The unique settings unit name.
- fragmentName String
- The unique settings fragment name within the settings unit.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultSettingsUnitRecord
Object that describes the settings unit record.