TokenInMemoryLruCacheTKey, TValueTryAddOrUpdate - метод

Attempts to add or update the cache value associated with the specified key.

Definition

Пространство имён: Tessa.Tokens.Caching
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public virtual bool TryAddOrUpdate(
	TKey key,
	TValue value
)

Параметры

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, .

Реализации

ITokenCacheTKey, TValueTryAddOrUpdate(TKey, TValue)

См. также