Method GetOrDefault
GetOrDefault<T, TKey>(IObservableCache<T, TKey>, TKey)
Declaration
public static T GetOrDefault<T, TKey>(this IObservableCache<T, TKey> instance, TKey key)
Parameters
Type | Name | Description |
---|---|---|
IObservableCache<T, TKey> | instance | |
TKey | key |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T | |
TKey |