ISettingsUnitPluginBeforeStoreAsync - метод
A lifecycle hook invoked before the settings unit record is persisted.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
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.