Is it possible to add list of types to generic interface?
<p>I want to create an interface such as...</p>

<pre><code>interface IRepository&lt;params T&gt;
{
    T GetAll();
}

class PersonRepository : IRepository&lt;Employees,Students&gt;
{
    Employees GetAll();
    Students GetAll();
}
</code></pre>

<p>So clearly I know that the concrete implementation is impossible but is there any way to take a multi entity repostitory and create some super base interface?</p>
