Files
behavioral-patterns/src/StatePattern/StatePatternExamples.cs
Petrutiu Mihai 1d04dafb70 Add BehavioralPatterns project back again in the solution (somehow it was gone)
Update Scrum example on State pattern
Add Scrum pattern using state role interfaces
2016-07-21 13:59:57 +03:00

48 lines
974 B
C#

using StatePattern.FanExample;
using StatePattern.ScrumExample;
using StatePattern.ScrumWithRoleStates;
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();
GoToNextStep();
ScrumMotivationalExample.Run();
GoToNextStep();
ScrumStatePatternExample.Run();
GoToNextStep();
ScrumStateWithRoleInterfacesExample.Run();
}
private static void GoToNextStep()
{
Console.ReadKey();
Console.Clear();
}
}
}