瀏覽代碼

Fixed api doc spew

Tigger Kindel 2 年之前
父節點
當前提交
d77025f6b5
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 3 4
      Terminal.Gui/Configuration/ConfigurationManager.cs
  2. 3 0
      Terminal.Gui/Configuration/SettingsScope.cs

+ 3 - 4
Terminal.Gui/Configuration/ConfigurationManager.cs

@@ -490,21 +490,20 @@ namespace Terminal.Gui.Configuration {
 		/// <summary>
 		/// <summary>
 		/// Loads all settings found in the various configuraiton storage locations to 
 		/// Loads all settings found in the various configuraiton storage locations to 
 		/// the <see cref="ConfigurationManager"/>. Optionally,
 		/// the <see cref="ConfigurationManager"/>. Optionally,
-		/// resets all settings attributed with <see cref="SerializableConfigurationProperty"/> to the defaults 
-		/// defined in <see cref="LoadAppResources"/>.
+		/// resets all settings attributed with <see cref="SerializableConfigurationProperty"/> to the defaults.
 		/// </summary>
 		/// </summary>
 		/// <remarks>
 		/// <remarks>
 		/// Use <see cref="Apply"/> to cause the loaded settings to be applied to the running application.
 		/// Use <see cref="Apply"/> to cause the loaded settings to be applied to the running application.
 		/// </remarks>
 		/// </remarks>
 		/// <param name="reset">If <see langword="true"/> the state of <see cref="ConfigurationManager"/> will
 		/// <param name="reset">If <see langword="true"/> the state of <see cref="ConfigurationManager"/> will
-		/// be reset to the defaults defined in <see cref="LoadAppResources"/>.</param>
+		/// be reset to the defaults.</param>
 		public static void Load (bool reset = false)
 		public static void Load (bool reset = false)
 		{
 		{
 			Debug.WriteLine ($"ConfigurationManager.Load()");
 			Debug.WriteLine ($"ConfigurationManager.Load()");
 
 
 			if (reset) Reset ();
 			if (reset) Reset ();
 
 
-			// LibraryResoruces is always loaded by Reset
+			// LibraryResources is always loaded by Reset
 			if (Locations == ConfigLocations.All) {
 			if (Locations == ConfigLocations.All) {
 				var embeddedStylesResourceName = Assembly.GetEntryAssembly ()?
 				var embeddedStylesResourceName = Assembly.GetEntryAssembly ()?
 					.GetManifestResourceNames ().FirstOrDefault (x => x.EndsWith (_configFilename));
 					.GetManifestResourceNames ().FirstOrDefault (x => x.EndsWith (_configFilename));

+ 3 - 0
Terminal.Gui/Configuration/SettingsScope.cs

@@ -34,6 +34,9 @@ namespace Terminal.Gui.Configuration {
 			[JsonInclude, JsonPropertyName ("$schema")]
 			[JsonInclude, JsonPropertyName ("$schema")]
 			public string Schema { get; set; } = "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json";
 			public string Schema { get; set; } = "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json";
 
 
+			/// <summary>
+			/// The list of paths to the configuration files.
+			/// </summary>
 			public List<string> Sources = new List<string> ();
 			public List<string> Sources = new List<string> ();
 
 
 			/// <summary>
 			/// <summary>