#nullable enable
namespace Terminal.Gui;
#pragma warning disable CS1711
///
/// for events that convey changes to a property of type .
///
/// The type of the value that was part of the change being canceled.
public class EventArgs : EventArgs where T : notnull
{
/// Initializes a new instance of the class.
/// The current value of the property.
/// The type of the value.
public EventArgs (in T currentValue) { CurrentValue = currentValue; }
/// The current value of the property.
public T CurrentValue { get; }
}