Load all provider classes from a solution folder
<p>Given a .net application that supports different logic providers, how to instantiate one instance of each class in a solution folder? What is the way to iterate through all of the classes in the folder?</p>

<p>For example I have a folder in my solution called <code>MailClientProviders</code>
It contains Outlook and The Bat! provider classes that implement a IMailProvider interface.</p>

<p>In my App.xaml I call a Ninject container to initialize all the dependencies. Then I need to write a method that I would call, and would get an instance of each class returned.</p>

<pre><code>heartbeatService.Providers = CreateOneInstanceOfAllClassesInProvidresDir(MailClientProviders);
</code></pre>

<p>What would be in the <code>CreateOneInstanceOfAllClassesInProvidresDir</code> method?</p>
