Namespace: Semata.DataStore.Util
Class: IteratorHelpers
Adds the objects of type T returned by the iterator to a collection of type T objects
public static C AddTo<T, C>(this Iterator<T> iterator, C collection)
Parameters
| Type | Name | Description |
| Iterator<T> | iterator | The iterator |
| C | collection | The collection |
Returns: C