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
|
//Chain of responsibillity
|
||||||
//This is usefull when you have a request and you don't know who should process it
|
//This is usefull when you have a request and you don't know who should process it
|
||||||
//ChainOfResponsibillityExamples.Run();
|
ChainOfResponsibillityExamples.Run();
|
||||||
//Console.ReadKey();
|
Console.ReadKey();
|
||||||
|
|
||||||
CommandPatternExamples.Run();
|
CommandPatternExamples.Run();
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
|
|
||||||
//IteratorPatternExamples.Run();
|
IteratorPatternExamples.Run();
|
||||||
//Console.ReadKey();
|
Console.ReadKey();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ namespace CommandPattern.StocksExample
|
|||||||
{
|
{
|
||||||
public class FakeStockSchedule : IStockSchedule
|
public class FakeStockSchedule : IStockSchedule
|
||||||
{
|
{
|
||||||
TimeSpan timeWhenMarketOpens;
|
|
||||||
bool isStockOpen;
|
bool isStockOpen;
|
||||||
public FakeStockSchedule(bool isStockOpen, TimeSpan dueTime)
|
public FakeStockSchedule(bool isStockOpen, TimeSpan dueTime)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user