title: Resolving empty collections with Castle Windsor
body: <p>One of my classes has a property like this:</p>
  
  <pre><code>ICollection&lt;IValidationError&gt; collection { get; set; }
  </code></pre>
  
  <p>I setup Windsor to use the CollectionResolver subresolver as such:</p>
  
  <pre><code>_container.Kernel.Resolver.AddSubResolver(new CollectionResolver(_container.Kernel, true));
  </code></pre>
  
  <p>However, Windsor gives me a <code>Collection&lt;ValidationError&gt;</code> object with <strong>ONE</strong> <code>ValidationError</code> object inside.</p>
  
  <p>Is there any way to make Windsor create a simple empty collection instead?</p>