Browse Source

ICommandContext -> separate file

Tig 7 months ago
parent
commit
80db8e6036
1 changed files with 1 additions and 14 deletions
  1. 1 14
      Terminal.Gui/Input/CommandContext.cs

+ 1 - 14
Terminal.Gui/Input/CommandContext.cs

@@ -37,17 +37,4 @@ public record struct CommandContext<TBindingType> : ICommandContext
 
     /// <inheritdoc />
     public object? Data { get; set; }
-}
-
-public interface ICommandContext
-{
-    /// <summary>
-    ///     The <see cref="Command"/> that is being invoked.
-    /// </summary>
-    public Command Command { get; set; }
-
-    /// <summary>
-    ///     Arbitrary data.
-    /// </summary>
-    public object? Data { get; set; }
-}
+}