void Detach(iObserver observer);
void Attach(iObserver observer);
//implement Detach Method - Detach from subject when no longer in use public void Detach(iObserver observer) { list_observer.Remove(observer); }
//implement Attach Method - attach to subject public void Attach(iObserver observer) { list_observer.Add(observer); }
// detach observer from the subject public void Detach(iObserver observer) { observerList.Remove(observer); }
// attach observer to the subject public void Attach(iObserver observer) { observerList.Add(observer); }