Namespace: Semata.DataStore.Util
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: static C^ AddTo<T, C>(Iterator^ iterator, C^ collection, Func<T, bool> predicate)
Parameters
| Type | Name | Description |
| MISSING PAGE Iterator | iterator | The iterator |
| C^ | collection | The collection |
| Func<T, bool> | predicate | The predicate delegate |
Returns: C^