SettingsUnitPluginBaseGetActualFragmentsAsync - метод

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

Definition

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

Параметры

unitID  Guid
The unique identifier of the settings unit.
fragmentIDs  IEnumerableGuid
The collection of fragment identifiers within the settings unit to evaluate.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskIReadOnlyCollectionGuid
A collection of actual fragment identifiers that are valid and available.

Реализации

ISettingsUnitPluginGetActualFragmentsAsync(Guid, IEnumerableGuid, CancellationToken)

Заметки

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

См. также