Merge pull request #494 from tig/fix_more_warnings

added docs for KeyEventArgs to get rid of warnings
This commit is contained in:
Charlie Kindel
2020-05-21 21:03:27 -06:00
committed by GitHub

View File

@@ -1065,8 +1065,18 @@ namespace Terminal.Gui {
SuperView?.SetFocus (this);
}
/// <summary>
/// Specifies the event arguments for <see cref="KeyEvent"/>
/// </summary>
public class KeyEventEventArgs : EventArgs {
/// <summary>
/// Constructs.
/// </summary>
/// <param name="ke"></param>
public KeyEventEventArgs(KeyEvent ke) => KeyEvent = ke;
/// <summary>
/// The <see cref="KeyEvent"/> for the event.
/// </summary>
public KeyEvent KeyEvent { get; set; }
}