- Namespace
- Statiq
.Common - Containing Type
- I
Dictionary Extensions
Syntax
public static bool TryAdd<TKey, TArg, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, TArg arg, Func<TKey, TArg, TValue> getValue)
Type Parameters
Name | Description |
---|---|
TKey | |
TArg | |
TValue |
Parameters
Name | Type | Description |
---|---|---|
dictionary | IDictionary |
|
key | TKey | |
arg | TArg | |
getValue | Func |
Return Value
Type | Description |
---|---|
bool |