title: Adding custom attributes to Custom Provider Configuration Section in app.config
body: <p>I am following this great article on <a href="http://www.rosscode.com/blog/index.php?title=draft_creating_your_own_provider_framewo&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1" rel="nofollow">how to create a Provider framework</a> in .NET</p>
  
  <p>Basically, this article explains greatly how to end up with a configuration file like the following:</p>
  
  <pre class="lang-xml prettyprint-override"><code>   &lt;configuration&gt;
       &lt;configSections&gt;
          &lt;section name="data" type="DataProviderConfigurationSection" /&gt;
        &lt;/configSections&gt;
        &lt;data defaultProvider="MyDataProvider"&gt;
           &lt;providers&gt;
              &lt;add name="MydataProvider" type="MyDataProvider"  /&gt;
           &lt;/providers&gt;
        &lt;/data&gt;
     &lt;/configuration&gt;
  </code></pre>
  
  <p>Where the <code>&lt;add/&gt;</code> element allows you to define a provider.</p>
  
  <p>However, I would like to know how to extend the <code>add</code> entry with custom attributes.</p>
  
  <p>For example:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;providers&gt;
    &lt;add name="MydataProvider" type="MyDataProvider" myProperty="myValue" myProperty2="myValue2" ... /&gt;
  &lt;/providers&gt;
  </code></pre>
  
  <p>Any help will be greatly appreciated.</p>