ICollectionExtensions Class
Extension methods for collection types.
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["ICollectionExtensions"] class Type type-node

Syntax

public static class ICollectionExtensions

Methods

Name Return Value Summary
AddRange<T>(ICollection<T>, IEnumerable<T>) void
Adds a range of values to a collection.
static
AddRange<T>(ICollection<T>, T[]) void
Adds a range of values to a collection.
static
RemoveAll<T>(ICollection<T>, Func<T, bool>) int
Removes all items that match a predicate from a collection.
static