title: How can a static class be resolved by the Unity Framework?
body: <p>I wold like the unity framework to resolve a static class "MyStaticObject" specified in my config file. As my class is static, I am getting an error "The type StaticObject does not have an accessible constructor."</p>
  
  <p>My config file looks as below:</p>
  
  <pre><code>  &lt;unity&gt;
      &lt;typeAliases&gt;
        &lt;typeAlias alias="singleton" type="Microsoft.Practices.Unity.ContainerControlledLifetimeManager, Microsoft.Practices.Unity" /&gt;
        &lt;typeAlias alias="StaticObject" type="MyStaticAssembly.MyStaticObject, MyStaticAssembly, Version=1.0.0.0" /&gt;
        &lt;typeAlias alias="staticobject" type="MyStaticAssembly.MyStaticObject, MyStaticAssembly" /&gt;
      &lt;/typeAliases&gt;
  
      &lt;containers&gt;
        &lt;container&gt; 
          &lt;types&gt;
            &lt;type type="StaticObject" mapTo="staticobject" name="My Static Object"&gt;
              &lt;lifetime type="singleton"/&gt;
            &lt;/type&gt;
          &lt;/types&gt;
        &lt;/container&gt;
      &lt;/containers&gt;
    &lt;/unity&gt;
  </code></pre>
  
  <p>I would highly appreciate any help.</p>