ISettingsUnitPluginMergePartialDataAsync - метод
A lifecycle hook invoked before storing partially updated data, responsible for merging the provided
partial
data with the existing
Data.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
ValueTask MergePartialDataAsync(
SettingsUnitRecord record,
Dictionary<string, Object?> data,
CancellationToken cancellationToken = default
)
Function MergePartialDataAsync (
record As SettingsUnitRecord,
data As Dictionary(Of String, Object),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
ValueTask MergePartialDataAsync(
SettingsUnitRecord^ record,
Dictionary<String^, Object^>^ data,
CancellationToken cancellationToken = CancellationToken()
)
abstract MergePartialDataAsync :
record : SettingsUnitRecord *
data : Dictionary<string, Object> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- record SettingsUnitRecord
-
The current settings unit record containing the complete data set, if available.
The provided record object can be modified directly.
- data DictionaryString, Object
- The partial data to merge into the existing data set.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskProvides an awaitable result of an asynchronous operation.
If merging is performed, the resulting merged data is expected to be applied directly to record.