namespace Terminal.Gui { /// /// Event args for the event /// /// public class ObjectActivatedEventArgs where T : class { /// /// The tree in which the activation occurred /// /// public TreeView Tree { get; } /// /// The object that was selected at the time of activation /// /// public T ActivatedObject { get; } /// /// Creates a new instance documenting activation of the object /// /// Tree in which the activation is happening /// What object is being activated public ObjectActivatedEventArgs (TreeView tree, T activated) { Tree = tree; ActivatedObject = activated; } } }