ConfigurationManagerEventArgs.cs 766 B

1234567891011121314151617181920
  1. #nullable enable
  2. namespace Terminal.Gui;
  3. /// <summary>Event arguments for the <see cref="ConfigurationManager"/> events.</summary>
  4. public class ConfigurationManagerEventArgs : EventArgs
  5. {
  6. /// <summary>Initializes a new instance of <see cref="ConfigurationManagerEventArgs"/></summary>
  7. public ConfigurationManagerEventArgs () { }
  8. }
  9. /// <summary>Event arguments for the <see cref="ThemeManager"/> events.</summary>
  10. public class ThemeManagerEventArgs : EventArgs
  11. {
  12. /// <summary>Initializes a new instance of <see cref="ThemeManagerEventArgs"/></summary>
  13. public ThemeManagerEventArgs (string newTheme) { NewTheme = newTheme; }
  14. /// <summary>The name of the new active theme.</summary>
  15. public string NewTheme { get; set; } = string.Empty;
  16. }