Class DictionaryExtensions
Namespace: ReadyM.Api.Compat
Assembly: ReadyM.Api.dll
public static class DictionaryExtensions
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
GetValueOrDefault<TKey, TValue>(Dictionary<TKey, TValue>, TKey)
public static TValue? GetValueOrDefault<TKey, TValue>(this Dictionary<TKey, TValue> self, TKey key) where TKey : notnull
Parameters
self Dictionary<TKey, TValue>
key TKey
Returns
TValue?
Type Parameters
TKey
TValue