Go to the documentation of this file.00001 using System;
00002 using System.Configuration;
00003
00004 namespace N2.Configuration
00005 {
00009 public class ComponentElement : ConfigurationElement
00010 {
00012 [ConfigurationProperty("key")]
00013 public string Key
00014 {
00015 get { return (string)base["key"]; }
00016 set { base["key"] = value; }
00017 }
00018
00020 [ConfigurationProperty("service")]
00021 public string Service
00022 {
00023 get { return (string)base["service"]; }
00024 set { base["service"] = value; }
00025 }
00026
00028 [ConfigurationProperty("implementation", IsRequired = true)]
00029 public string Implementation
00030 {
00031 get { return (string)base["implementation"]; }
00032 set { base["implementation"] = value; }
00033 }
00034
00036 [ConfigurationProperty("parameters")]
00037 public ComponentParameterCollection Parameters
00038 {
00039 get { return (ComponentParameterCollection)base["parameters"]; }
00040 set { base["parameters"] = value; }
00041 }
00042 }
00043 }