Update StockExchange example from mediator pattern
This commit is contained in:
@@ -27,6 +27,8 @@ namespace MediatorPattern
|
|||||||
FlightAirTrafficControlExample flightAirControl = new FlightAirTrafficControlExample();
|
FlightAirTrafficControlExample flightAirControl = new FlightAirTrafficControlExample();
|
||||||
flightAirControl.Run();
|
flightAirControl.Run();
|
||||||
|
|
||||||
|
GoToNextStep();
|
||||||
|
|
||||||
//Taxi/Taxi center example
|
//Taxi/Taxi center example
|
||||||
//Chat application
|
//Chat application
|
||||||
//GUI libraries
|
//GUI libraries
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ namespace MediatorPattern.StockExchange
|
|||||||
if (!couldSellStocks)
|
if (!couldSellStocks)
|
||||||
{
|
{
|
||||||
AddSeller(trader);
|
AddSeller(trader);
|
||||||
Console.WriteLine("No seller buys it at this price, try a lower price");
|
Console.WriteLine("No buyer buys it at this price, try a lower price");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user