SettingsUnitsEditorControllerGetUnitDescriptors - метод

Retrieves descriptors of settings units available for current session with specified category if any.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
[HttpGetAttribute("descriptors")]
[HttpGetAttribute("descriptors/c/{category}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<List<SettingsUnitDescriptor>>> GetUnitDescriptors(
	[FromRouteAttribute] string? category = null,
	CancellationToken cancellationToken = default
)

Параметры

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.

Возвращаемое значение

TaskActionResultListSettingsUnitDescriptor
A collection of SettingsUnitDescriptor objects.

См. также