C++ C#

AddTo<T, C>(this Iterator^, C^, Func<T, bool>) Method

Class: IteratorHelpers

Calls predicate on each object of type T returned by the iterator and if it returns true adds the object of type V to a collection of type V objects

public C^ AddTo<T, C>(this Iterator^ iterator, C^ collection, Func<T, bool> predicate)


Type Name Description
this Iterator^ iterator
C^ collection
Func<T, bool> predicate

Returns: C^