mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
19 lines
476 B
C#
19 lines
476 B
C#
#nullable enable
|
|
using System.ComponentModel;
|
|
|
|
namespace Terminal.Gui;
|
|
|
|
/// <summary>
|
|
/// Event arguments for <see cref="Command"/> events.
|
|
/// </summary>
|
|
public class CommandEventArgs : CancelEventArgs
|
|
{
|
|
/// <summary>
|
|
/// The context for the command, if any.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// If <see langword="null"/> the command was invoked without context.
|
|
/// </remarks>
|
|
public required ICommandContext? Context { get; init; }
|
|
}
|