Esempio n. 1
0
 public void AttachObserver(IObserver observer)
 {
     for (int index = 0; index < m_observerList.Count; index++)
     {
         if (m_observerList[index] == observer)
         {
             return;
         }
     }
     m_observerList.Add(observer);
     observer.AddNotifier(this);
 }