diff --git a/src/BehavioralPatterns/Program.cs b/src/BehavioralPatterns/Program.cs index 92921e3..976f875 100644 --- a/src/BehavioralPatterns/Program.cs +++ b/src/BehavioralPatterns/Program.cs @@ -17,14 +17,14 @@ namespace BehavioralPatterns //Chain of responsibillity //This is usefull when you have a request and you don't know who should process it - //ChainOfResponsibillityExamples.Run(); - //Console.ReadKey(); + ChainOfResponsibillityExamples.Run(); + Console.ReadKey(); CommandPatternExamples.Run(); Console.ReadKey(); - //IteratorPatternExamples.Run(); - //Console.ReadKey(); + IteratorPatternExamples.Run(); + Console.ReadKey(); } } diff --git a/src/CommandPattern/StocksExample/StockSchedule.cs b/src/CommandPattern/StocksExample/StockSchedule.cs index 587fba3..3e8ea55 100644 --- a/src/CommandPattern/StocksExample/StockSchedule.cs +++ b/src/CommandPattern/StocksExample/StockSchedule.cs @@ -5,7 +5,6 @@ namespace CommandPattern.StocksExample { public class FakeStockSchedule : IStockSchedule { - TimeSpan timeWhenMarketOpens; bool isStockOpen; public FakeStockSchedule(bool isStockOpen, TimeSpan dueTime) {