Update Observer pattern
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user