private void RaisePostureDetected(PosturesEnum posture) { if (_lastPosture == posture) { return; } Raise(() => PostureDetected(this, new PostureEventArgs { Posture = posture })); _lastPosture = posture; }