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,29 @@
using IteratorPattern.FileExample;
using IteratorPattern.TVExample.TVEnumerable;
using IteratorPattern.TvIterator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IteratorPattern
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build".
public class IteratorPatternExamples
{
public static void Run()
{
ReadBigFilesExample bigFileExample = new ReadBigFilesExample();
bigFileExample.Run();
TVIteratorExample tvIteratorExample = new TVIteratorExample();
tvIteratorExample.Run();
TVEnumerableExample tvEnumerableExample = new TVEnumerableExample();
tvEnumerableExample.Run();
}
}
}