ISettingsUnitPluginGetActualFragmentsAsync - метод

Resolves the actual fragment names by filtering or transforming the provided fragment names based on current context and availability.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
ValueTask<IReadOnlyCollection<string>> GetActualFragmentsAsync(
	Guid unitID,
	IEnumerable<string> fragmentNames,
	CancellationToken cancellationToken = default
)

Параметры

unitID  Guid
The unique identifier of the settings unit.
fragmentNames  IEnumerableString
The collection of fragment names within the settings unit to be processed.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskIReadOnlyCollectionString
A collection of actual fragment names that are valid and available.

Заметки

Use this method to validate fragment names, apply context-specific filtering, or resolve dynamic fragments that may change based on runtime conditions.

См. также