Aggregate Interface (IAggregate<T>):?
- The IAggregate<T> interface defines a method CreateIterator() that
returns an iterator instance. Any class that represents a collection should
implement this interface to provide an iterator.
public interface IAggregate<T>
{
IIterator<T> CreateIterator();
}