Browse Source

API docsz'

Tig 8 months ago
parent
commit
dc47125c16
1 changed files with 2 additions and 7 deletions
  1. 2 7
      Terminal.Gui/Input/ICommandContext.cs

+ 2 - 7
Terminal.Gui/Input/ICommandContext.cs

@@ -2,7 +2,8 @@
 namespace Terminal.Gui;
 namespace Terminal.Gui;
 
 
 /// <summary>
 /// <summary>
-///     Describes the context in which a <see cref="Command"/> is being invoked.
+///     Describes the context in which a <see cref="Command"/> is being invoked. When a <see cref="Command"/> is invoked,
+///     a context object is passed to Command handlers. See <see cref="View.AddCommand(Command, CommandImplementation)"/>.
 /// </summary>
 /// </summary>
 public interface ICommandContext
 public interface ICommandContext
 {
 {
@@ -10,10 +11,4 @@ public interface ICommandContext
     ///     The <see cref="Command"/> that is being invoked.
     ///     The <see cref="Command"/> that is being invoked.
     /// </summary>
     /// </summary>
     public Command Command { get; set; }
     public Command Command { get; set; }
-
-    //// TODO: Remove this property. With CommandContext<TBindingType> being a generic type, there should be no need for arbitrary data.
-    ///// <summary>
-    /////     Arbitrary data.
-    ///// </summary>
-    //public object? Data { get; set; }
 }
 }