21 lines
522 B
C#
21 lines
522 B
C#
using System;
|
|
|
|
namespace CC_Functions.Commandline.TUI
|
|
{
|
|
/// <summary>
|
|
/// Arguments containing input data
|
|
/// </summary>
|
|
public class InputEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Generates new arguments
|
|
/// </summary>
|
|
/// <param name="info">The input data</param>
|
|
public InputEventArgs(ConsoleKeyInfo info) => Info = info;
|
|
|
|
/// <summary>
|
|
/// The inputs data
|
|
/// </summary>
|
|
public ConsoleKeyInfo Info { get; }
|
|
}
|
|
} |