title: How to inherit from a generic parameter?
body: <p>I'm basically wanting to do this:</p>
  
  <pre><code>class UILockable&lt;T&gt; : T
      where T : UIWidget
  {
  }
  </code></pre>
  
  <p>However, this doesn't work. I've seen people recommend that you do this:</p>
  
  <pre><code>class UILockable&lt;T&gt;
      where T : UIWidget
  {
      private T _base;
  }
  </code></pre>
  
  <p>This would require me to override each function UILockable would need and forward it to T. This is impossible since T may derive from UIWidget and have unique abstract/virtual methods of its own.</p>
  
  <p>Is there no way to simply inherit from T?</p>