Пример #1
0
 public void Notify(string msg, ObserverPattern.NotificationType t, SourceCodeContext scc)
 {
     foreach (IObserver o in m_observers)
     {
         o.ProcessUpdate(this, msg, t, scc);
     }
 }
Пример #2
0
 public void ProcessUpdate(object o, string msg, ObserverPattern.NotificationType t, SourceCodeContext scc)
 {
     Notify(msg, t, scc);
 }