using System.Configuration; namespace CassiniDev.Configuration { public class PluginElement : ConfigurationElement { [ConfigurationProperty("name", IsKey = true, IsRequired = true)] public string Name { get { return (string)this["name"]; } set { this["name"] = value; } } [ConfigurationProperty("type", IsRequired = true)] public string Type { get { return (string)this["type"]; } set { this["type"] = value; } } } }