public void RemoveObserver(IBPMObserver o)
 {
     _heart.RemoveObserver(o);
 }
 public void RegisterObserver(IBPMObserver o)
 {
     _heart.RegisterObserver(o);
 }
 public void RemoveObserver(IBPMObserver o)
 {
     _bpmObservers.Remove(o);
 }
 public void RegisterObserver(IBPMObserver o)
 {
     _bpmObservers.Add(o);
 }
示例#5
0
 public void RemoveObserver(IBPMObserver observer)
 {
     BPMEvent -= observer.UpdateBPM;
 }
示例#6
0
 public void RegisterObserver(IBPMObserver observer)
 {
     BPMEvent += observer.UpdateBPM;
 }