ISettingsUnitPluginBeforeStoreAsync - метод
A lifecycle hook invoked before the settings unit record is persisted.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
ValueTask BeforeStoreAsync(
SettingsUnitRecord record,
CancellationToken cancellationToken = default
)
Function BeforeStoreAsync (
record As SettingsUnitRecord,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
ValueTask BeforeStoreAsync(
SettingsUnitRecord^ record,
CancellationToken cancellationToken = CancellationToken()
)
abstract BeforeStoreAsync :
record : SettingsUnitRecord *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- record SettingsUnitRecord
-
The settings unit record being persisted.
The provided record object can be modified directly.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskProvides an awaitable result of an asynchronous operation.
Use this method to normalize the data, remove transient properties, or perform final business-logic transformations prior to persistence.