Beispiel #1
0
 /// <summary>
 /// De-attach view, model
 /// </summary>
 public void   Deattach()
 {
     m_View  = null;
     m_Model = null;
     //unregister from NotifyManager
     NotifyManager.GetInstance().UnregisterObserver(this);
 }
Beispiel #2
0
 public IController()
 {
     //register to NotifyManager
     NotifyManager.GetInstance().RegisterObserver(this);
 }