Browse Source

Grouping ConfigurationManager into ConfigurationManagerEventArgs.cs file.

BDisp 2 năm trước cách đây
mục cha
commit
1a924d3b99

+ 18 - 0
Terminal.Gui/Configuration/ConfigurationManagerEventArgs.cs

@@ -15,4 +15,22 @@ namespace Terminal.Gui.Configuration {
 		{
 		}
 	}
+
+	/// <summary>
+	/// Event arguments for the <see cref="ConfigurationManager.ThemeManager"/> events.
+	/// </summary>
+	public class ThemeManagerEventArgs : EventArgs {
+		/// <summary>
+		/// The name of the new active theme..
+		/// </summary>
+		public string NewTheme { get; set; } = string.Empty;
+
+		/// <summary>
+		/// Initializes a new instance of <see cref="ThemeManagerEventArgs"/>
+		/// </summary>
+		public ThemeManagerEventArgs (string newTheme)
+		{
+			NewTheme = newTheme;
+		}
+	}
 }

+ 0 - 24
Terminal.Gui/Configuration/ThemeManagerEventArgs.cs

@@ -1,24 +0,0 @@
-using System;
-
-#nullable enable
-
-namespace Terminal.Gui.Configuration {
-
-	/// <summary>
-	/// Event arguments for the <see cref="ConfigurationManager.ThemeManager"/> events.
-	/// </summary>
-	public class ThemeManagerEventArgs : EventArgs {
-		/// <summary>
-		/// The name of the new active theme..
-		/// </summary>
-		public string NewTheme { get; set; } = string.Empty;
-
-		/// <summary>
-		/// Initializes a new instance of <see cref="ThemeManagerEventArgs"/>
-		/// </summary>
-		public ThemeManagerEventArgs (string newTheme)
-		{
-			NewTheme = newTheme;
-		}
-	}
-}