SettingsUnitsEditorControllerGetDescriptor - метод

Retrieves descriptor of settings unit available for the current session.

Definition

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

Параметры

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.

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

TaskActionResultSettingsUnitDescriptor
A SettingsUnitDescriptor object or if descriptor not found or not available.

См. также