瀏覽代碼

Merge pull request #494 from tig/fix_more_warnings

added docs for KeyEventArgs to get rid of warnings
Charlie Kindel 5 年之前
父節點
當前提交
092e4f14da
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Terminal.Gui/Core.cs

+ 10 - 0
Terminal.Gui/Core.cs

@@ -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; }
 		}