- Namespace
- Statiq
.Common - Containing Type
- ConcurrentCache
<TKey, TValue>
Syntax
public TValue AddOrUpdate<TArg>(TKey key, Func<TKey, TArg, TValue> addValueFactory, Func<TKey, TValue, TArg, TValue> updateValueFactory, TArg arg)
Type Parameters
Name | Description |
---|---|
TArg |
Parameters
Name | Type | Description |
---|---|---|
key | TKey | |
addValueFactory | Func |
|
updateValueFactory | Func |
|
arg | TArg |
Return Value
Type | Description |
---|---|
TValue |