title: Is it bad to use UnityContainer in factories?
body: <p>Have a code:</p>
  
  <pre><code>class MyFactory : IMyFactory
  {
      private IUnityContainer _container;
  
      public MyFactory(IUnityContainer container)
      {
          _container = container;
      }
  
      public IMyInterface Create()
      {
          _container.Resolve&lt;IMyInterface&gt;();
      }
  }
  </code></pre>
  
  <p>I need to resolve IMyInterface using Unity because the interception logic required.
  Is it bad to inject Container into a factory?</p>