title: Get MaxLength value in .cshtml template
body: <p>In my class I have..</p>
  
  <pre><code>public class MyModel
  {
      [MaxLength(30)]
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>In my view..</p>
  
  <pre><code>@Html.AntiForgeryToken()
  @Html.EditorForModel()
  </code></pre>
  
  <p>And my String.cshtml</p>
  
  <pre><code>@model string
  @{ 
      // How to cetn MaxValue here ??
  }
  
  @Html.TextBox(Html.IdForModel().ToString(), Model, new { @class= "text-box single-line", placeholder=ViewData.ModelMetadata.Watermark })
  </code></pre>