Skip to content

Overload_CodeJam_Collections_DictionaryExtensions_GetValueOrDefault

andrewvk edited this page Apr 26, 2016 · 5 revisions

DictionaryExtensions.GetValueOrDefault Method

[This is preliminary documentation and is subject to change.]

Overload List

 

Name Description
Public methodStatic member GetValueOrDefault(TKey, TValue)(ConcurrentDictionary(TKey, TValue), TKey) Returns value associated with key, or default(TValue) if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(Dictionary(TKey, TValue), TKey) Returns value associated with key, or default(TValue) if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(IDictionary(TKey, TValue), TKey) Returns value associated with key, or default(TValue) if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(IReadOnlyDictionary(TKey, TValue), TKey) Returns value associated with key, or default(TValue) if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(ConcurrentDictionary(TKey, TValue), TKey, Func(TKey, TValue)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(ConcurrentDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult)) Returns value associated with key, or default value if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(ConcurrentDictionary(TKey, TValue), TKey, TValue) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(Dictionary(TKey, TValue), TKey, Func(TKey, TValue)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(Dictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult)) Returns value associated with key, or default value if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(Dictionary(TKey, TValue), TKey, TValue) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(IDictionary(TKey, TValue), TKey, Func(TKey, TValue)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(IDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult)) Returns value associated with key, or default value if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(IDictionary(TKey, TValue), TKey, TValue) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(IReadOnlyDictionary(TKey, TValue), TKey, Func(TKey, TValue)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(IReadOnlyDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult)) Returns value associated with key, or default value if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue)(IReadOnlyDictionary(TKey, TValue), TKey, TValue) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(ConcurrentDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), Func(TKey, TResult)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(ConcurrentDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), TResult) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(Dictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), Func(TKey, TResult)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(Dictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), TResult) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(IDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), Func(TKey, TResult)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(IDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), TResult) Returns value associated with key, or defaultValue if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(IReadOnlyDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), Func(TKey, TResult)) Returns value associated with key, or value returned by defaultValueFactory if key does not exists in dictionary
Public methodStatic member GetValueOrDefault(TKey, TValue, TResult)(IReadOnlyDictionary(TKey, TValue), TKey, Func(TKey, TValue, TResult), TResult) Returns value associated with key, or defaultValue if key does not exists in dictionary
  Back to Top

See Also

Reference

DictionaryExtensions Class
CodeJam.Collections Namespace

Clone this wiki locally