Method SetItems
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
SetItems(IEnumerable<KeyValuePair<TKey, TValue>>)
Creates a new ImmutableValueDictionary<TKey, TValue> with the specified key-value pairs set, adding or updating as necessary.
public ImmutableValueDictionary<TKey, TValue> SetItems(IEnumerable<KeyValuePair<TKey, TValue>> items)
Parameters
itemsIEnumerable<KeyValuePair<TKey, TValue>>The key-value pairs to set.
Returns
- ImmutableValueDictionary<TKey, TValue>
A new dictionary with the key-value pairs set.