ISettingsUnitPluginMergePartialDataAsync - метод
A lifecycle hook invoked before persisting partially updated data, responsible for merging the provided
partial
data with the existing
Data.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
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.