public void RegisterObserver(ParityChangedNotifyFunc parityChangedNotifyFunc) { this.parityChangedNotifyFunc += parityChangedNotifyFunc; if (Parity != null) { NotifyObservers(Parity); } }
public void UnregisteObserver(ParityChangedNotifyFunc parityChangedNotifyFunc) { this.parityChangedNotifyFunc -= parityChangedNotifyFunc; }