Design Pattern Examples
Overview of object-oriented design patterns
IteratorContainer_Class.cs File Reference

The IteratorContainer_Class class and the IIterator template interface used in the Iterator pattern. More...

Go to the source code of this file.

Classes

class  ItemPair
 Represents a key/value pair where the key and value are strings. More...
 
interface  IIterator< TItemType >
 Represents an iterator for some type. This is a forward-only iterator in that it can only start at 0 and increment through the items until done. More...
 
class  Iterator< TItemType >
 Represents an iterator for a container by implementing the IIterator interface. More...
 
class  IteratorContainer_Class
 Represents a container that offers up two kinds of iterators for the hardcoded contents. More...
 

Namespaces

namespace  DesignPatternExamples_csharp
 The namespace containing all Design Pattern Examples implemented in C#.
 

Detailed Description

The IteratorContainer_Class class and the IIterator template interface used in the Iterator pattern.

Definition in file IteratorContainer_Class.cs.