title: How to make a custom strongly typed html helper method?
body: <p>Now I found out how to create custom html helpers</p>
  
  <pre><code>using System;
  namespace MvcApplication.Helpers {
    public class InputlHelper {
      public static string Input(this HtmlHelper helper, string name, string text) {
         return String.Format("&lt;input name='{0}'&gt;{1}&lt;/input&gt;", name, text);
      }
    }
  }
  </code></pre>
  
  <p>Now how to turn it into a strongly typed helper method <code>InputFor</code> Like it is in the framework?</p>
  
  <p>I don't need the <code>Html.TextBoxFor</code> method, I know it exists. I am just curious in how to implement this behavior myself and used this as a simple example.</p>
  
  <p>PS. I was looking in the mvc source code but couldn't find a trace of this mysterious <code>TextBoxFor</code>. I only found <code>TextBox</code>. Am I looking at the wrong <a href="http://aspnet.codeplex.com/SourceControl/changeset/view/60098#288010" rel="nofollow">code</a>?</p>