Class DictionaryExtensions
- Namespace
- MassTransit.Internals
- Assembly
- MassTransit.Abstractions.dll
public static class DictionaryExtensions- Inheritance
- 
      
      DictionaryExtensions
- Inherited Members
Methods
GetOrAdd<TKey, TValue>(IDictionary<TKey, TValue>, TKey, Func<TKey, TValue>)
public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TKey, TValue> valueFactory)Parameters
- dictionaryIDictionary<TKey, TValue>
- keyTKey
- valueFactoryFunc<TKey, TValue>
Returns
- TValue
Type Parameters
- TKey
- TValue
MergeLeft<TValue>(IDictionary<string, TValue>, params IDictionary<string, TValue>[])
public static IDictionary<string, TValue> MergeLeft<TValue>(this IDictionary<string, TValue> source, params IDictionary<string, TValue>[] others)Parameters
- sourceIDictionary<string, TValue>
- othersIDictionary<string, TValue>[]
Returns
- IDictionary<string, TValue>
Type Parameters
- TValue