Initializes a new instance of the xtd::collections::generic::enumerator <type_t> class with specified enumerator.