title: TModel not recognized in a Razor Helper as Lamba Expression
body: <p>I trying to use a Razor Helper that does some if statements for me. I'm passing it a list with certain rules and based on that rule a label and input text field are created.</p>
  
  <p>The problem I have is I can't get it to work with a Lambda expression as parameter. It won't recognize the TModel part.</p>
  
  <p>The helper method is as follows:</p>
  
  <pre><code>@helper CreateCheckbox(Expression&lt;Func&lt;TModel, bool&gt;&gt; expression, object htmlAttributes, List&lt;Rule&gt; ruleList)
  {    
  
  }
  </code></pre>
  
  <p>The error I get is: The type of namespace 'TModel' can not be found.</p>