PredicatedCollection.AddRange Method - Kalkwst/Risotto GitHub Wiki

PredicatedCollection<T>.AddRange(IEnumerable<T>) Method

Definition

Namespace: Risotto.Collections

In this article

Definition

See also

Adds the elements of the specified collection to the PredicatedCollection after each element is validated by the collection's predicate.

public void AddRange(System.Collections.Generic.IEnumerable<T> collection);

Parameters

collection IEnumerable<T>

The collection whose elements should be added to the PredicatedCollection<T>. The collection itself cannot be null, but it can contain elements that are null if type T is a reference type.

Exceptions

ArgumentException

The collection's internal predicate did not evaluate the item as true.

See also