SettingsUnitsEditorControllerGetDescriptors - метод
Retrieves descriptors of settings units available for current session and filtered by category if specified.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
[HttpGetAttribute("descriptors")]
[HttpGetAttribute("descriptors/c/{category}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<List<SettingsUnitDescriptor>>> GetDescriptors(
[FromRouteAttribute] string? category = null,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("descriptors")>
<HttpGetAttribute("descriptors/c/{category}")>
<ProducesResponseTypeAttribute(200)>
<ProducesAttribute("application/json", New String() { ... })>
Public Function GetDescriptors (
<FromRouteAttribute> Optional category As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of SettingsUnitDescriptor)))
public:
[HttpGetAttribute(L"descriptors")]
[HttpGetAttribute(L"descriptors/c/{category}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
Task<ActionResult<List<SettingsUnitDescriptor^>^>^>^ GetDescriptors(
[FromRouteAttribute] String^ category = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("descriptors")>]
[<HttpGetAttribute("descriptors/c/{category}")>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
member GetDescriptors :
[<FromRouteAttribute>] ?category : string *
?cancellationToken : CancellationToken
(* Defaults:
let _category = defaultArg category null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<SettingsUnitDescriptor>>>
- category String (Optional)
- The URL-encoded category name of the settings units if specified. See Name.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultListSettingsUnitDescriptorA collection of
SettingsUnitDescriptor objects.