Files
behavioral-patterns/src/StatePattern/StatePatternExamples.cs
Petrutiu Mihai f9631ea99a Add FanExample
2016-07-14 12:23:02 +03:00

36 lines
670 B
C#

using StatePattern.FanExample;
using StatePattern.TVExample;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StatePattern
{
public class StatePatternExamples
{
public static void Run()
{
TVMotivationalExample.Run();
GoToNextStep();
TVExampleRunner.Run();
GoToNextStep();
FanMotivationalExample.Run();
GoToNextStep();
FanWithStatePatternExample.Run();
}
private static void GoToNextStep()
{
Console.ReadKey();
Console.Clear();
}
}
}