Table of Contents

Class DictionaryExtensions

Namespace
Oqtane.Extensions
Assembly
Oqtane.Server.dll
public static class DictionaryExtensions
Inheritance
DictionaryExtensions

Methods

GetValue<TKey, TValue>(Dictionary<TKey, TValue>, TKey, TValue, bool)

public static TValue GetValue<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, TValue defaultValue, bool nullOrEmptyValueIsValid = false)

Parameters

dictionary Dictionary<TKey, TValue>
key TKey
defaultValue TValue
nullOrEmptyValueIsValid bool

Returns

TValue

Type Parameters

TKey
TValue