示例#1
0
 /// <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);
 }
示例#2
0
        private void AnnounceUnhandledCommand()
        {
            UnhandledCommandEventArgs eventArgs = new UnhandledCommandEventArgs(LastCommand);

            OnUnhandledCommand(eventArgs);
        }