简体   繁体   中英

Is it possible to use the configSource attributes on Custom ConfigurationElement classes in web.config?

I know it's possible to reference external configuration files for a configuration section but I'd like to go one step further and reference config files from a configuration element.

ie

<CustomConfigSection>
<Plugins>
<Plugin configSource="plugin.config"/>
<Plugin configSource="another_plugin.config"/>
</Plugins>
</CustomConfigSection>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM