AdvisableHashSet<T>.UnionWith Method |
Modifies the current set so that it contains all elements that are present in the current set, in the specified collection, or in both.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public void UnionWith( IEnumerable<T> other )
Parameters
- other
- Type: System.Collections.Generic.IEnumerable<T>
The collection to compare to the current set.
Implements
ISet<T>.UnionWith(IEnumerable<T>)Exception | Condition |
---|---|
ArgumentNullException | other is null. |