Namespace: Semata.DataStore.Util
Class: IteratorHelpers
Calls convert on each object of type T returned by the iterator and then adds the returned object of type V to a collection of type V objects
public static C AddTo<T, C, V>(this Iterator iterator, C collection, Func<T, V> convert)
Parameters
Type | Name | Description |
MISSING PAGE Iterator | iterator | The iterator |
C | collection | The collection |
Func<T, V> | convert | The convert delegate |
Returns: C