view Chronosv2/source/Configuration/WidgetsSectionHandler.cs @ 13:87905693f506

SCC: TFS to HG
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:49:06 +0700
parents 443821e55f06
children
line wrap: on
line source

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
    }
}