Add RX variance to Stocks example on Observer pattern

This commit is contained in:
Petrutiu Mihai
2016-06-28 17:59:13 +03:00
parent 5d639bf0ab
commit 55ed135ee1
4 changed files with 58 additions and 9 deletions

View File

@@ -15,6 +15,8 @@ namespace BehavioralPatterns
{
public static void Main(string[] args)
{
ObserverPatternExamples.Run();
Console.ReadKey();
//Chain of responsibillity
//This is usefull when you have a request and you don't know who should process it
ChainOfResponsibillityExamples.Run();
@@ -40,8 +42,6 @@ namespace BehavioralPatterns
Console.ReadKey();
ObserverPatternExamples.Run();
Console.ReadKey();
}
}