Add observer pattern

Update memento pattern examples class to have run as static method
Update behavioral patterns program.cs to maintain the order
This commit is contained in:
Petrutiu Mihai
2016-06-23 21:39:13 +03:00
parent 2894347140
commit c66816b938
11 changed files with 224 additions and 19 deletions

View File

@@ -0,0 +1,18 @@
using ObserverPattern.Twits;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ObserverPattern
{
public class ObserverPatternExamples
{
public static void Run()
{
ObservableTwitsExample obsTwits = new ObservableTwitsExample();
obsTwits.Run();
}
}
}