ConfigurationManagerEventArgs.cs 877 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. #nullable enable
  3. namespace Terminal.Gui {
  4. /// <summary>
  5. /// Event arguments for the <see cref="ConfigurationManager"/> events.
  6. /// </summary>
  7. public class ConfigurationManagerEventArgs : EventArgs {
  8. /// <summary>
  9. /// Initializes a new instance of <see cref="ConfigurationManagerEventArgs"/>
  10. /// </summary>
  11. public ConfigurationManagerEventArgs ()
  12. {
  13. }
  14. }
  15. /// <summary>
  16. /// Event arguments for the <see cref="ConfigurationManager.ThemeManager"/> events.
  17. /// </summary>
  18. public class ThemeManagerEventArgs : EventArgs {
  19. /// <summary>
  20. /// The name of the new active theme..
  21. /// </summary>
  22. public string NewTheme { get; set; } = string.Empty;
  23. /// <summary>
  24. /// Initializes a new instance of <see cref="ThemeManagerEventArgs"/>
  25. /// </summary>
  26. public ThemeManagerEventArgs (string newTheme)
  27. {
  28. NewTheme = newTheme;
  29. }
  30. }
  31. }