protected virtual void OnCommandInvalidated(CommandSubscriberEventArgs e) { var ev = CommandInvalidated; if (ev != null) { ev(this, e); } }
private void HandleCommandInvalidated(object sender, CommandSubscriberEventArgs e) { Invalidate(e.CommandKey); }