/// <summary> /// Causes the <see cref="HotkeyChanged"/> event to be raised. /// </summary> /// <param name="hotkey"></param> private void RaiseHotkeyChangedEvent(Hotkey hotkey) { _hotkeyChangedEvent?.Invoke(this, new HotkeyChangedEventArgs(hotkey)); }
/// <summary> /// Creates a new instance of the <see cref="HotkeyChangedEventArgs"/> class. /// </summary> /// <param name="hotkey">New hotkey that has been set for the application.</param> public HotkeyChangedEventArgs(Hotkey hotkey) { Hotkey = hotkey; }