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