Mercurial > silverbladetech
view Chronosv2/source/Configuration/WidgetConfigurationElement.cs @ 30:8d574f2d4174
Cleaned up client
author | adminsh@apollo |
---|---|
date | Wed, 21 Mar 2012 22:26:48 +0000 |
parents | 443821e55f06 |
children |
line wrap: on
line source
using System.Configuration; namespace Chronos.Configuration { /// <summary> /// Widget configuration element /// </summary> public sealed class WidgetConfigurationElement : ConfigurationElement { #region · Properties · /// <summary> /// Gets or sets the widget id. /// </summary> /// <value>The widget id.</value> [ConfigurationProperty("id", IsRequired = true, IsKey=true)] public string Id { get { return (string)this["id"]; } set { this["id"] = value; } } /// <summary> /// Gets or sets the widget handler type. /// </summary> /// <value>The widget handler type.</value> [ConfigurationProperty("type", IsRequired = true)] public string Type { get { return (string)this["type"]; } set { this["type"] = value; } } #endregion #region · Constructors · /// <summary> /// Initializes a new instance of the <see cref="WidgetConfigurationElement"/> class. /// </summary> public WidgetConfigurationElement() { } #endregion } }