title: Simple Injector Generic Registrations are not Resolved
body: <p>I am using Simple Injector IOC. I have below registration which not getting resolved, I am getting the error as shown below.</p>
  
  <pre><code>container.Register(
      typeof(IQueryHandler&lt;,&gt;), 
      typeof(IQueryHandler&lt;,&gt;).Assembly,
      Lifestyle.Singleton);
  
  var changeFeedObserverFactory =
      (IChangeFeedObserverFactory)container.GetInstance(
          typeof(IChangeFeedObserverFactory));
  </code></pre>
  
  <blockquote>
    <p>IQueryHandler&lt;AggregatedSumPerDayQuery, AggregatedSumPerDayView> that is not registered. Please ensure IQueryHandler&lt;AggregatedSumPerDayQuery, AggregatedSumPerDayView> is registered, or change the constructor of TeamViewService.</p>
  </blockquote>
  
  <p>It's in a console app.</p>
  
  <p>Please suggest how to resolve it.</p>