using System;
/*https://github.com/sidristij/memory-pools/blob/master/MemoryPools.Collections*/
namespace MemoryPools.Collections
{
public interface IPoolingEnumerator : IDisposable
{
/// Advances the enumerator to the next element of the collection.
/// true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
/// The collection was modified after the enumerator was created.
bool MoveNext();
/// Sets the enumerator to its initial position, which is before the first element in the collection.
/// The collection was modified after the enumerator was created.
void Reset();
// Gets the element in the collection at the current position of the enumerator.
/// The element in the collection at the current position of the enumerator.
object Current { get; }
}
}