ISettingsUnitCacheInvalidateAsync - метод
Invalidates cached entries for settings units.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
ValueTask InvalidateAsync(
SettingsUnitKey? key = null,
bool cascade = false
)
Function InvalidateAsync (
Optional key As SettingsUnitKey = Nothing,
Optional cascade As Boolean = false
) As ValueTask
ValueTask InvalidateAsync(
SettingsUnitKey^ key = nullptr,
bool cascade = false
)
abstract InvalidateAsync :
?key : SettingsUnitKey *
?cascade : bool
(* Defaults:
let _key = defaultArg key null
let _cascade = defaultArg cascade false
*)
-> ValueTask
- key SettingsUnitKey (Optional)
Key for identifying a settings unit or fragment.
If , the entire cache is invalidated.
- cascade Boolean (Optional)
-
Indicates that unit invalidation should be cascaded across its fragments.
This flag is ignored when invalidating a fragment.
ValueTaskProvides an awaitable result of an asynchronous operation.
Triggers global cache invalidation events
SettingsUnits,
so other components can react and reload affected records if necessary.