diff Chronosv2/source/Configuration/WidgetsSectionHandler.cs @ 10:443821e55f06

Initial cleaned up add from Codeplex files
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:25:44 +0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Chronosv2/source/Configuration/WidgetsSectionHandler.cs	Tue Feb 21 17:25:44 2012 +0700
@@ -0,0 +1,39 @@
+using System.Configuration;
+
+namespace Chronos.Configuration
+{
+    /// <summary>
+    /// Widget configuration section handler
+    /// </summary>
+    public sealed class WidgetsSectionHandler
+        : ConfigurationSection
+    {
+        #region · Properties ·
+
+        /// <summary>
+        /// Gets the list of configured widgets.
+        /// </summary>
+        /// <value>The desktops.</value>
+        [ConfigurationProperty("widgets", IsDefaultCollection = true)]
+        public WidgetConfigurationElementCollection Widgets
+        {
+            get
+            {
+                return (WidgetConfigurationElementCollection)base["widgets"];
+            }
+        }
+
+        #endregion
+
+        #region · Constructors ·
+
+        /// <summary>
+        /// Initializes a new instance of the <see cref="WidgetsSectionHandler"/> class.
+        /// </summary>
+        public WidgetsSectionHandler()
+        {
+        }
+
+        #endregion
+    }
+}