Update Observer pattern

This commit is contained in:
Petrutiu Mihai
2016-06-23 22:06:34 +03:00
parent c66816b938
commit 3ecd8e332b
5 changed files with 53 additions and 32 deletions

View File

@@ -16,8 +16,10 @@ namespace BehavioralPatterns
public class Program
{
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,10 +42,6 @@ namespace BehavioralPatterns
Console.ReadKey();
MementoPatternExamples.Run();
ObserverPatternExamples.Run();
Console.ReadKey();
}
}
}