Type extension
DictionaryExtensions<TKey, TValue>
extension DictionaryExtensions<TKey, TValue> for Dictionary<TKey, TValue>
Namespace: System.Collections.Generic
Assembly: Raven.Core.dll
Source file: TryGet.rvn
Provides option-returning dictionary lookup.
Receiver
Type parameters
| Name | Description |
|---|---|
TKey |
The dictionary key type. |
TValue |
The dictionary value type. |
Methods
1 item
Extension member:
TryGetValue<TKey, TValue>(key: TKey) -> Optional<TValue>
Looks up a key without exposing an `out` parameter.
Extension from DictionaryExtensions<TKey, TValue>.TryGetValue