Method SingletonMap
SingletonMap<TKey, TValue>(TKey, TValue)
Declaration
public static IDictionary<TKey, TValue> SingletonMap<TKey, TValue>(TKey key, TValue value)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | |
TValue | value |
Returns
Type | Description |
---|---|
IDictionary<TKey, TValue> |
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |