SettingsUnitEditorServiceGetUnitDescriptorsAsync - метод

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

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
public Task<List<SettingsUnitDescriptor>> GetUnitDescriptorsAsync(
	string? category,
	CancellationToken cancellationToken = default
)

Параметры

category  String
Path to the category where the settings unit is located. The value must satisfy the CategoryPattern pattern.
The "/" symbol is used to separate categories:
  • Categorycategory
  • Subcategorycategory/subcategory
Use to return available descriptors across all categories.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskListSettingsUnitDescriptor
A collection of SettingsUnitDescriptor objects.

Реализации

ISettingsUnitEditorServiceGetUnitDescriptorsAsync(String, CancellationToken)

См. также