ISettingsUnitEditorServiceGetCategoryDescriptorAsync - метод

Retrieves descriptor of settings unit category available for the current session.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
Task<SettingsUnitCategoryDescriptor?> GetCategoryDescriptorAsync(
	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
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskSettingsUnitCategoryDescriptor
A SettingsUnitCategoryDescriptor object, or if descriptor not found or not available.

См. также