SettingsUnitPluginBaseTryGetDescriptorOverridesAsync - метод

Provides descriptor overrides for the specified settings unit.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
public virtual ValueTask<(int Order, string Caption, string Description)?> TryGetDescriptorOverridesAsync(
	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.

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

ValueTaskNullableValueTupleInt32, String, String
Descriptor override values or if no overrides are defined.

Реализации

ISettingsUnitPluginTryGetDescriptorOverridesAsync(SettingsUnitKey, CancellationToken)

См. также