/// <summary>
 /// Releases all references to the collection being iterated.
 /// </summary>
 public void Dispose()
 {
     _collection = null;
     GC.SuppressFinalize(this);
 }
 /// <summary>
 /// Creates an instance of the <see cref="LazyObservableCollectionEnumerator"/> class.
 /// </summary>
 /// <param name="collection"></param>
 public LazyObservableCollectionEnumerator(LazyObservableCollection <TData, TWrapper> collection)
 {
     _collection = collection;
 }