ITokenCacheTKey, TValueTryAddOrUpdate - метод
Attempts to add or update the cache value associated with the specified key.
Пространство имён: Tessa.Tokens.CachingСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
bool TryAddOrUpdate(
TKey key,
TValue value
)
Function TryAddOrUpdate (
key As TKey,
value As TValue
) As Boolean
bool TryAddOrUpdate(
TKey key,
TValue value
)
abstract TryAddOrUpdate :
key : 'TKey *
value : 'TValue -> bool
- key TKey
- The key used to add or update the cache value.
- value TValue
- The cache value to add or update.
Boolean if the value was successfully added or updated; otherwise,
.