diff IniFile.cs @ 2:2dde4c1d19d9

Closes #6 - Create INI parser * Add more documentation * Change NonExistantIniSection so that the constructor won't cause an exception * Fix IniFileReader so that the reading from string actually reads from the parameter
author IBBoard <dev@ibboard.co.uk>
date Mon, 12 Jan 2009 20:34:07 +0000
parents f9444f1786cd
children 01fc09ab63e2
line wrap: on
line diff
--- a/IniFile.cs	Sun Jan 11 15:37:14 2009 +0000
+++ b/IniFile.cs	Mon Jan 12 20:34:07 2009 +0000
@@ -73,12 +73,23 @@
 			}
 		}
 
-		
+		/// <summary>
+		/// Checks whether the IniFile contains an <see cref=" IniSection"/> with the specified name
+		/// </summary>
+		/// <param name="sectionName">
+		/// The name of the section to look for
+		/// </param>
+		/// <returns>
+		/// <code>true</code> if the section is in the file, else <code>false</code>
+		/// </returns>
 		public bool HasSection(string sectionName)
 		{
 			return sections.ContainsKey(sectionName.Trim());
 		}
-		
+
+		/// <summary>
+		/// Gets an array of the <see cref=" IniSection"/>s in the file
+		/// </summary>
 		public IniSection[] Sections
 		{
 			get