title: Can a IOC Container replace CreateInstance reflection code?
body: <p>I have a similar setup shown in <a href="https://stackoverflow.com/q/3940675/84539">this question</a> and was wondering if I could replace all my code that uses reflection to find plugins of a certain type and then does a <code>CreateInstance</code> on it with a IOC Container that does something like:</p>
  
  <pre><code>builder.RegisterAssemblyTypes(typeof(MyType).Assembly)
  </code></pre>