Exemplo n.º 1
0
 public void Detach(IBankingOperationObserver bankingOperationObserver)
 {
     Debug.WriteLine("Detaching observer from Bank");
     _bankingOperationObservers.Remove(bankingOperationObserver);
 }
Exemplo n.º 2
0
 public void Attach(IBankingOperationObserver bankingOperationObserver)
 {
     Debug.WriteLine("Attaching observer to Bank");
     _bankingOperationObservers.Add(bankingOperationObserver);
 }