AiToolsSettingsUnitPluginMergePartialDataAsync - метод
A lifecycle hook invoked before persisting partially updated data, responsible for merging the provided
partial
data with the existing
Data.
Пространство имён: Tessa.Extensions.Platform.Server.SettingsUnits.AiToolsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public override ValueTask MergePartialDataAsync(
SettingsUnitRecord record,
Dictionary<string, Object?> data,
CancellationToken cancellationToken = default
)
Public Overrides Function MergePartialDataAsync (
record As SettingsUnitRecord,
data As Dictionary(Of String, Object),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
virtual ValueTask MergePartialDataAsync(
SettingsUnitRecord^ record,
Dictionary<String^, Object^>^ data,
CancellationToken cancellationToken = CancellationToken()
) override
abstract MergePartialDataAsync :
record : SettingsUnitRecord *
data : Dictionary<string, Object> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
override 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.
ISettingsUnitPluginMergePartialDataAsync(SettingsUnitRecord, DictionaryString, Object, CancellationToken)
If merging is performed, the resulting merged data is expected to be applied directly to record.