namespace Terminal.Gui.Input;
#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved
///
/// Describes the context in which a is being invoked. inherits from this interface.
/// When a is invoked,
/// a context object is passed to Command handlers as an reference.
///
/// .
#pragma warning restore CS1574 // XML comment has cref attribute that could not be resolved
public interface ICommandContext
{
///
/// The that is being invoked.
///
public Command Command { get; set; }
///
/// The View that was the source of the command invocation, if any.
/// (e.g. the view the user clicked on or the view that had focus when a key was pressed).
///
public View? Source { get; set; }
}