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