Class CollectionExtensions
- Namespace
- Acuit.Pinpoint.Common.Collections
- Assembly
- Acuit.Pinpoint.Common.dll
Extension members for collections.
public static class CollectionExtensions
- Inheritance
-
CollectionExtensions
- Inherited Members
Methods
AddRange<T>(ICollection<T>, IEnumerable<T>)
Adds a sequence of items the end of the collection.
public static void AddRange<T>(this ICollection<T> collection, IEnumerable<T> items)
Parameters
collectionICollection<T>itemsIEnumerable<T>The items to add to the collection.
Type Parameters
T
Exceptions
- ArgumentNullException
itemsis null.