public void NotifyObservers(Parity parity) { if (parityChangedNotifyFunc != null) { parityChangedNotifyFunc.Invoke(parity); } }