SettingsUnitsEditorControllerGetDescriptor - метод
Retrieves descriptor of settings unit available for the current session.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
[HttpGetAttribute("descriptors/{unitName}/{fragmentName?}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<SettingsUnitDescriptor?>> GetDescriptor(
[FromRouteAttribute] string unitName,
[FromRouteAttribute] string? fragmentName,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("descriptors/{unitName}/{fragmentName?}")>
<ProducesResponseTypeAttribute(200)>
<ProducesAttribute("application/json", New String() { ... })>
Public Function GetDescriptor (
<FromRouteAttribute> unitName As String,
<FromRouteAttribute> fragmentName As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of SettingsUnitDescriptor))
public:
[HttpGetAttribute(L"descriptors/{unitName}/{fragmentName?}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
Task<ActionResult<SettingsUnitDescriptor^>^>^ GetDescriptor(
[FromRouteAttribute] String^ unitName,
[FromRouteAttribute] String^ fragmentName,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("descriptors/{unitName}/{fragmentName?}")>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
member GetDescriptor :
[<FromRouteAttribute>] unitName : string *
[<FromRouteAttribute>] fragmentName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<SettingsUnitDescriptor>>
- unitName String
- The unique settings unit name.
- fragmentName String
- The unique settings fragment name within the settings unit if specified.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultSettingsUnitDescriptorA
SettingsUnitDescriptor object or
if descriptor not found or not available.