title: ASP.NET MVC6 localizable DisplayAttribute
body: <p>I wonder if there is possibility to use <code>IHtmlLocalizer</code> from ASP.NET MVC6 directly with POCO classes? Currently I have few viewmodels that uses <code>DisplayAttribute</code> in order to display translated string in views and validator, but it requires to create additional static class with each static property defined (unfortunately the static indexers are not possible in C#). Is there any better way to get this done?</p>
  
  <p>My current code:</p>
  
  <pre><code>[Display(Name = "TrackingDevice", ResourceType = typeof(TestResource))]
  public string TrackingDevice { get; set; }
  
  public class TestResource
  {
      public static string TrackingDevice
      {
          get
          {
              //Here I call IHtmlLocalizer via IServiceLocator
              return "Field name";
          }
      }
  }
  </code></pre>