ISettingsUnitPluginGetActualFragmentsAsync - метод
Resolves the actual fragment names by filtering or transforming the provided fragment names based on current context and availability.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
ValueTask<IReadOnlyCollection<string>> GetActualFragmentsAsync(
Guid unitID,
IEnumerable<string> fragmentNames,
CancellationToken cancellationToken = default
)
Function GetActualFragmentsAsync (
unitID As Guid,
fragmentNames As IEnumerable(Of String),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IReadOnlyCollection(Of String))
ValueTask<IReadOnlyCollection<String^>^> GetActualFragmentsAsync(
Guid unitID,
IEnumerable<String^>^ fragmentNames,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetActualFragmentsAsync :
unitID : Guid *
fragmentNames : IEnumerable<string> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IReadOnlyCollection<string>>
- 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.
ValueTaskIReadOnlyCollectionStringA 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.