/// <summary> /// Raises the <see cref="UnhandledCommand"/> event. /// </summary> /// <param name="e">A <see cref="UnhandledCommandEventArgs"/> that contains the event data.</param> protected virtual void OnUnhandledCommand(UnhandledCommandEventArgs e) { UnhandledCommand?.Invoke(this, e); }
private void AnnounceUnhandledCommand() { UnhandledCommandEventArgs eventArgs = new UnhandledCommandEventArgs(LastCommand); OnUnhandledCommand(eventArgs); }