예제 #1
0
 public void RegisterObserver(ICoinPurseObserver coinPurseObserver)
 {
     Observers.Add(coinPurseObserver);
 }
 public void RegisterObserver(ICoinPurseObserver coinPurseObserver)
 {
     NumberOfTimesRegisterObserverWasCalled++;
     RegisteredCoinPurseObservers.Add(coinPurseObserver);
 }
 public void RegisterObserver(ICoinPurseObserver coinPurseObserver)
 {
     NumberOfTimesRegisterObserverWasCalled++;
     RegisteredCoinPurseObservers.Add(coinPurseObserver);
 }
예제 #4
0
 public void RegisterObserver(ICoinPurseObserver coinPurseObserver)
 {
     Observers.Add(coinPurseObserver);
 }