RunStateEventArgs.cs 455 B

123456789101112
  1. namespace Terminal.Gui;
  2. /// <summary>Event arguments for events about <see cref="RunState"/></summary>
  3. public class RunStateEventArgs : EventArgs
  4. {
  5. /// <summary>Creates a new instance of the <see cref="RunStateEventArgs"/> class</summary>
  6. /// <param name="state"></param>
  7. public RunStateEventArgs (RunState state) { State = state; }
  8. /// <summary>The state being reported on by the event</summary>
  9. public RunState State { get; }
  10. }