Table of Contents

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

dictionary IDictionary<TKey, TValue>
key TKey
valueFactory Func<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

source IDictionary<string, TValue>
others IDictionary<string, TValue>[]

Returns

IDictionary<string, TValue>

Type Parameters

TValue