SettingsUnitsEditorControllerGetDescriptors - метод

Retrieves descriptors of settings units available for current session and filtered by category if specified.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
[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
)

Параметры

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.

См. также