我使用IConfigurationSectionHandler接口获取有关我的自定义配置节的信息。但是它已被弃用,我想改用ConfigurationSection。
如何以这种方式创建自定义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/>