Mid
From PDF
GoF Patterns
Gang of Four Patterns
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();
}Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png