mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
ICommandContext -> separate file
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user