我使用IConfigurationSectionHandler接口获取有关我的自定义配置部分的信息。但它已过时,我想用ConfigurationSection代替。自定义配置部分
如何创建这种观点的自定义配置节和使用的ConfigurationSection代替IConfigurationSectionHandler:
<CustomSectionBlaBla>
<Parent name="DB">
<FirstChild value="someValue"/>
<SecondChild value="someValue"/>
<Parent/>
...
<Parent name="UI">
<FirstChild value="someValue"/>
<SecondChild value="someValue"/>
<Parent/>
<CustomSectionBlaBla/>
+1这,这也只有这个。尽管对于最基本类型的配置部分[3个简单步骤中的自定义配置部分]略有涉及的概述(http://haacked.com/archive/2007/03/11/custom-configuration-sections-in- 3-易于steps.aspx)。 –