ISettingsUnitEditorServiceGetUnitDescriptorAsync - метод

Retrieves descriptor of settings unit available for the current session with specified key.

Definition

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

Параметры

key  SettingsUnitKey
Key for identifying a settings unit or fragment.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskSettingsUnitDescriptor
A SettingsUnitDescriptor object, or if descriptor not available.

См. также