Add Iterator pattern

This commit is contained in:
Petrutiu Mihai
2016-06-22 19:37:05 +03:00
parent 1ab706016e
commit 35c3c5722d
19 changed files with 409 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IteratorPattern.TvIterator
{
/// <summary>
/// Aggregate interface - get iterator
/// The Aggregate defines an interface for the creation of the Iterator object.
/// </summary>
public interface TV
{
ChannelIterator GetIterator();
}
}