Method Union
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
Union(IEnumerable<T>)
Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.
IImmutableValueSet<T> Union(IEnumerable<T> other)
Parameters
otherIEnumerable<T>The collection to add elements from.
Returns
- IImmutableValueSet<T>
A new immutable set with the items added; or the original set if all the items were already in the set.