Undo initial program to run all examples
Remove unnecessary variable from StockSchedule
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ namespace CommandPattern.StocksExample
|
||||
{
|
||||
public class FakeStockSchedule : IStockSchedule
|
||||
{
|
||||
TimeSpan timeWhenMarketOpens;
|
||||
bool isStockOpen;
|
||||
public FakeStockSchedule(bool isStockOpen, TimeSpan dueTime)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user